Skip to content

Commit

Permalink
feat: add uuid to webhook decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jun 28, 2021
1 parent 3cba0d7 commit 3a91606
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pact_broker/api/decorators/webhook_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class WebhookEventDecorator < BaseDecorator
property :name
end

property :uuid

property :description, getter: lambda { |context| context[:represented].display_description }

property :consumer, :class => PactBroker::Domain::Pacticipant, default: nil do
Expand Down

0 comments on commit 3a91606

Please sign in to comment.