Class: Roqua::CoreApi::Sessions::HmacAuthSession
- Inherits:
-
AuthSession
- Object
- AuthSession
- Roqua::CoreApi::Sessions::HmacAuthSession
- Defined in:
- lib/roqua/core_api/sessions/hmac_auth_session.rb
Instance Attribute Summary collapse
-
#consumer_key ⇒ Object
readonly
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
readonly
Returns the value of attribute consumer_secret.
Attributes inherited from AuthSession
Instance Method Summary collapse
-
#initialize(consumer_key: ENV.fetch('CORE_CONSUMER_KEY'), consumer_secret: ENV.fetch('CORE_CONSUMER_SECRET'), **additional_arguments) ⇒ HmacAuthSession
constructor
A new instance of HmacAuthSession.
Methods inherited from AuthSession
Constructor Details
#initialize(consumer_key: ENV.fetch('CORE_CONSUMER_KEY'), consumer_secret: ENV.fetch('CORE_CONSUMER_SECRET'), **additional_arguments) ⇒ HmacAuthSession
Returns a new instance of HmacAuthSession.
9 10 11 12 13 14 15 |
# File 'lib/roqua/core_api/sessions/hmac_auth_session.rb', line 9 def initialize(consumer_key: ENV.fetch('CORE_CONSUMER_KEY'), consumer_secret: ENV.fetch('CORE_CONSUMER_SECRET'), **additional_arguments) @consumer_key = consumer_key @consumer_secret = consumer_secret super additional_arguments end |
Instance Attribute Details
#consumer_key ⇒ Object (readonly)
Returns the value of attribute consumer_key.
5 6 7 |
# File 'lib/roqua/core_api/sessions/hmac_auth_session.rb', line 5 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object (readonly)
Returns the value of attribute consumer_secret.
5 6 7 |
# File 'lib/roqua/core_api/sessions/hmac_auth_session.rb', line 5 def consumer_secret @consumer_secret end |