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.0.0.beta.7 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.0.0.beta.6 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.18.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.0.0.beta.5 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.18.0.beta.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.17.2 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.17.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.0.0.beta.4 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.0.0.beta.3 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.0.0.beta.2 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-2.0.0.beta.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.17.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.16.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.15.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.14.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.13.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.12.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.11.2 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.11.1 lib/pact_broker/api/decorators/webhook_request_decorator.rb
pact_broker-1.11.0 lib/pact_broker/api/decorators/webhook_request_decorator.rb