Class: AWSBase
- Inherits:
-
Object
- Object
- AWSBase
- Defined in:
- lib/aws-base.rb
Overview
Base class for amazon web services
Instance Method Summary collapse
-
#initialize ⇒ AWSBase
constructor
A new instance of AWSBase.
Constructor Details
#initialize ⇒ AWSBase
Returns a new instance of AWSBase.
6 7 8 9 10 11 12 |
# File 'lib/aws-base.rb', line 6 def initialize AWS.config( :access_key_id => ENV["AWS_ACCESS_KEY"], :secret_access_key => ENV["AWS_SECRET_KEY"], :region => 'us-west-2' # use us-west-2 ) end |