Class: PactBroker::Domain::WebhookRequestHeader
- Inherits:
-
Object
- Object
- PactBroker::Domain::WebhookRequestHeader
- Defined in:
- lib/pact_broker/domain/webhook_request_header.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ WebhookRequestHeader
constructor
A new instance of WebhookRequestHeader.
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
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/pact_broker/domain/webhook_request_header.rb', line 5 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/pact_broker/domain/webhook_request_header.rb', line 5 def value @value end |