Class: PactBroker::Domain::WebhookRequestHeader

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/domain/webhook_request_header.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value) ⇒ WebhookRequestHeader

Returns a new instance of WebhookRequestHeader.



7
8
9
10
# File 'lib/pact_broker/domain/webhook_request_header.rb', line 7

def initialize name, value
  @name = name
  @value = value
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/pact_broker/domain/webhook_request_header.rb', line 5

def name
  @name
end

#valueObject

Returns the value of attribute value.



5
6
7
# File 'lib/pact_broker/domain/webhook_request_header.rb', line 5

def value
  @value
end