class AGCOD::Config
Constants
- URI
Attributes
access_key[RW]
partner_id[RW]
production[RW]
region[RW]
secret_key[RW]
uri[W]
Public Class Methods
new()
click to toggle source
# File lib/aws_agcod/config.rb, line 15 def initialize # API defaults @production = false @region = 'us-east-1' end
Public Instance Methods
uri()
click to toggle source
# File lib/aws_agcod/config.rb, line 21 def uri return @uri if @uri production ? URI[:production] : URI[:sandbox] end