Sha256: e80ed8997c3633521476edc1a11c9a635c184e3764b581be738e3291198a2606
Contents?: true
Size: 1.7 KB
Versions: 4
Compression:
Stored size: 1.7 KB
Contents
# Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. # AWS is the root module for all of the Amazon Web Services. It is also # where you can configure you access to AWS. # # = Supported Services # # The currently supported services are: # # * {EC2} # * {S3} # * {SimpleDB} # * {SimpleEmailService} # * {SNS} # * {SQS} # # = AWS::Record # # In addition to the above services, bundled is an ORM based on AWS services # See {AWS::Record} for more information. # # = Configuration # # You call {AWS.config} with a hash of options to configure your # access to the Amazon Web Services. # # At a minimum you need to set your access credentials. See {AWS.config} # for additional configuration options. # # AWS.config( # :access_key_id => 'ACCESS_KEY_ID', # :secret_access_key => 'SECRET_ACCESS_KEY') # # == Rails # # If you are loading AWS inside a Rails web application, place your # configuration inside: # # config/initializers/aws.rb # module AWS; end require 'aws/common' %w(ec2 s3 simple_db simple_email_service sns sqs record rails).each do |service| $:.each do |load_path| if (Pathname.new(load_path) + "aws" + "#{service}.rb").exist? require "aws/#{service}" break end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aws-sdk-1.0.3 | lib/aws.rb |
aws-sdk-1.0.2 | lib/aws.rb |
aws-sdk-1.0.1 | lib/aws.rb |
aws-sdk-1.0.0 | lib/aws.rb |