Class: AwsAgcod::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_agcod/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_keyObject

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_idObject

Returns the value of attribute partner_id.



3
4
5
# File 'lib/aws_agcod/config.rb', line 3

def partner_id
  @partner_id
end

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/aws_agcod/config.rb', line 3

def region
  @region
end

#secret_keyObject

Returns the value of attribute secret_key.



3
4
5
# File 'lib/aws_agcod/config.rb', line 3

def secret_key
  @secret_key
end

#uriObject

Returns the value of attribute uri.



3
4
5
# File 'lib/aws_agcod/config.rb', line 3

def uri
  @uri
end