Class: AmazonMwsProducts::Client
- Inherits:
-
Object
- Object
- AmazonMwsProducts::Client
- Defined in:
- lib/amazon_mws_products/client.rb
Constant Summary collapse
- AWS_API_VERSION =
'2011-10-01'
- SIGNATURE_VERSION =
'2'
- SIGNATURE_METHOD =
'HmacSHA256'
- ENDPOINT =
'mws.amazonservices.com'
- PATH =
'/Products/2011-10-01'
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#action ⇒ Object
readonly
Returns the value of attribute action.
Instance Method Summary collapse
- #get(additional_params) ⇒ Object
-
#initialize(account, action) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(account, action) ⇒ Client
Returns a new instance of Client.
20 21 22 23 |
# File 'lib/amazon_mws_products/client.rb', line 20 def initialize(account, action) @account = account @action = action end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
18 19 20 |
# File 'lib/amazon_mws_products/client.rb', line 18 def account @account end |
#action ⇒ Object (readonly)
Returns the value of attribute action.
18 19 20 |
# File 'lib/amazon_mws_products/client.rb', line 18 def action @action end |
Instance Method Details
#get(additional_params) ⇒ Object
25 26 27 |
# File 'lib/amazon_mws_products/client.rb', line 25 def get(additional_params) make_request(:get, additional_params) end |