Class: AWSBase

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-base.rb

Overview

Base class for amazon web services

Instance Method Summary collapse

Constructor Details

#initializeAWSBase

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