Module: EC2

Includes:
AWS::EC2
Defined in:
lib/EC2.rb

Overview

This module is provided to provide a backwards compatible API for previous versions of the gem before the code was refactored for ELB API support.

This is module is deprecated. Instead, you should now use AWS::EC2 and require ‘aws’

Constant Summary

Constants included from AWS::EC2

AWS::EC2::API_VERSION, AWS::EC2::DEFAULT_HOST, AWS::EC2::EC2_URL, AWS::EC2::VALID_HOSTS

Class Method Summary collapse

Class Method Details

.canonical_string(params, host, method = "POST", base = "/") ⇒ Object

See AWS.canonical_string



21
22
23
# File 'lib/EC2.rb', line 21

def EC2.canonical_string(params, host, method="POST", base="/")
  AWS.canonical_string(params, host, method, base)
end

.encode(secret_access_key, str, urlencode = true) ⇒ Object

See AWS.encode



26
27
28
# File 'lib/EC2.rb', line 26

def EC2.encode(secret_access_key, str, urlencode=true)
  AWS.encode(secret_access_key, str, urlencode)
end