Sha256: a3eba1560324bc9b7fa224ee9e0966b17be3b4ac3ef3e01edac1b9cb19c416eb

Contents?: true

Size: 419 Bytes

Versions: 77

Compression:

Stored size: 419 Bytes

Contents

require_relative 'base_decorator'

module PactBroker
  module Api
    module Decorators
      class WebhookRequestDecorator < BaseDecorator

        property :method
        property :url
        property :headers, getter: lambda { | _ | headers.empty? ? nil : headers }
        property :body
        property :username
        property :password, getter: lambda { | _ | display_password }

      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
pact_broker-2.20.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.19.2 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.19.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.19.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.18.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.17.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.17.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.16.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.16.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.15.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.14.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.13.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.13.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.12.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.11.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.10.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.9.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.9.0.beta.5 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.8.0.beta.5 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.8.0.beta.4 lib/pact_broker/api/decorators/webhook_request_decorator.rb