Class: AwsAgcod::Config
- Inherits:
-
Object
- Object
- AwsAgcod::Config
- Defined in:
- lib/aws_agcod/config.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 9 |
# File 'lib/aws_agcod/config.rb', line 5 def initialize # API defaults @uri = "https://agcod-v2-gamma.amazon.com" @region = "us-east-1" end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
3 4 5 |
# File 'lib/aws_agcod/config.rb', line 3 def access_key @access_key end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
3 4 5 |
# File 'lib/aws_agcod/config.rb', line 3 def partner_id @partner_id end |
#region ⇒ Object
Returns the value of attribute region.
3 4 5 |
# File 'lib/aws_agcod/config.rb', line 3 def region @region end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
3 4 5 |
# File 'lib/aws_agcod/config.rb', line 3 def secret_key @secret_key end |
#uri ⇒ Object
Returns the value of attribute uri.
3 4 5 |
# File 'lib/aws_agcod/config.rb', line 3 def uri @uri end |