Class: EbayClient::Configuration::ApiKey

Inherits:
Object
  • Object
show all
Defined in:
lib/ebay_client/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#appidObject

Returns the value of attribute appid.



3
4
5
# File 'lib/ebay_client/configuration.rb', line 3

def appid
  @appid
end

#certidObject

Returns the value of attribute certid.



3
4
5
# File 'lib/ebay_client/configuration.rb', line 3

def certid
  @certid
end

#devidObject

Returns the value of attribute devid.



3
4
5
# File 'lib/ebay_client/configuration.rb', line 3

def devid
  @devid
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/ebay_client/configuration.rb', line 3

def token
  @token
end