Sha256: eb219663ca0c6ceefecc49b867417827a1fcba7e5bc53bf2cbcfe567d4af4783
Contents?: true
Size: 513 Bytes
Versions: 21
Compression:
Stored size: 513 Bytes
Contents
require_relative 'base_decorator' module PactBroker module Api module Decorators class WebhookRequestTemplateDecorator < BaseDecorator property :method property :url property :headers, getter: lambda { | _ | headers.empty? ? nil : self.redacted_headers } property :body property :username property :password, getter: lambda { | _ | display_password } def redacted_headers represented.headers end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems