Sha256: ff7b0b8371441dbde4f880030d71d1a59f15338cc98906d35bcfcc5120c807bb

Contents?: true

Size: 456 Bytes

Versions: 63

Compression:

Stored size: 456 Bytes

Contents

require_relative 'base_decorator'

module PactBroker
  module Api
    module Decorators
      class WebhookRequestTemplateDecorator < BaseDecorator

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


      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
pact_broker-2.79.1 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.79.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.78.1 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.78.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.77.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.76.2 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.76.1 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.76.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.75.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.74.1 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.74.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.73.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.72.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.71.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.70.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.69.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.68.1 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.68.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.67.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb
pact_broker-2.66.0 lib/pact_broker/api/decorators/webhook_request_template_decorator.rb