Class: AGCOD::Config
- Inherits:
-
Object
- Object
- AGCOD::Config
- Defined in:
- lib/aws_agcod/config.rb
Constant Summary collapse
- URI =
{ sandbox: 'https://agcod-v2-gamma.amazon.com', production: 'https://agcod-v2.amazon.com' }
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#production ⇒ Object
Returns the value of attribute production.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
- #uri ⇒ Object
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
15 16 17 18 19 |
# File 'lib/aws_agcod/config.rb', line 15 def initialize # API defaults @production = false @region = 'us-east-1' end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
4 5 6 |
# File 'lib/aws_agcod/config.rb', line 4 def access_key @access_key end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
4 5 6 |
# File 'lib/aws_agcod/config.rb', line 4 def partner_id @partner_id end |
#production ⇒ Object
Returns the value of attribute production.
4 5 6 |
# File 'lib/aws_agcod/config.rb', line 4 def production @production end |
#region ⇒ Object
Returns the value of attribute region.
4 5 6 |
# File 'lib/aws_agcod/config.rb', line 4 def region @region end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
4 5 6 |
# File 'lib/aws_agcod/config.rb', line 4 def secret_key @secret_key end |