Class: WebBotAuth::MessageSignature::Component
- Inherits:
-
Struct
- Object
- Struct
- WebBotAuth::MessageSignature::Component
- Defined in:
- app/services/web_bot_auth/message_signature.rb
Overview
A single covered component: an HTTP field name (e.g. +signature-agent+) or
a derived component (e.g. +@authority+), its resolved value, and any
component parameters (e.g. +req: true+ to source it from the request).
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name:, value:, params: {}) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(name:, value:, params: {}) ⇒ Component
Returns a new instance of Component.
19 20 21 |
# File 'app/services/web_bot_auth/message_signature.rb', line 19 def initialize(name:, value:, params: {}) super end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
18 19 20 |
# File 'app/services/web_bot_auth/message_signature.rb', line 18 def name @name end |
#params ⇒ Object
Returns the value of attribute params
18 19 20 |
# File 'app/services/web_bot_auth/message_signature.rb', line 18 def params @params end |
#value ⇒ Object
Returns the value of attribute value
18 19 20 |
# File 'app/services/web_bot_auth/message_signature.rb', line 18 def value @value end |