Class: Distelli::Credentials
- Inherits:
-
Object
- Object
- Distelli::Credentials
- Defined in:
- lib/distelli/clientframework.rb
Instance Attribute Summary collapse
-
#key_id ⇒ Object
Returns the value of attribute key_id.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize(key_id, secret_key) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(key_id, secret_key) ⇒ Credentials
Returns a new instance of Credentials.
20 21 22 23 |
# File 'lib/distelli/clientframework.rb', line 20 def initialize(key_id, secret_key) @key_id = key_id @secret_key = secret_key end |
Instance Attribute Details
#key_id ⇒ Object
Returns the value of attribute key_id.
19 20 21 |
# File 'lib/distelli/clientframework.rb', line 19 def key_id @key_id end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
19 20 21 |
# File 'lib/distelli/clientframework.rb', line 19 def secret_key @secret_key end |