Class: EbayClient::Configuration::ApiKey
- Inherits:
-
Object
- Object
- EbayClient::Configuration::ApiKey
- Defined in:
- lib/ebay_client/configuration.rb
Instance Attribute Summary collapse
-
#appid ⇒ Object
Returns the value of attribute appid.
-
#certid ⇒ Object
Returns the value of attribute certid.
-
#devid ⇒ Object
Returns the value of attribute devid.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(key_values) ⇒ ApiKey
constructor
A new instance of ApiKey.
Constructor Details
#initialize(key_values) ⇒ ApiKey
Returns a new instance of ApiKey.
5 6 7 8 9 |
# File 'lib/ebay_client/configuration.rb', line 5 def initialize(key_values) key_values.each do |key, val| instance_variable_set "@#{key}", val end end |
Instance Attribute Details
#appid ⇒ Object
Returns the value of attribute appid.
3 4 5 |
# File 'lib/ebay_client/configuration.rb', line 3 def appid @appid end |
#certid ⇒ Object
Returns the value of attribute certid.
3 4 5 |
# File 'lib/ebay_client/configuration.rb', line 3 def certid @certid end |
#devid ⇒ Object
Returns the value of attribute devid.
3 4 5 |
# File 'lib/ebay_client/configuration.rb', line 3 def devid @devid end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/ebay_client/configuration.rb', line 3 def token @token end |