Sha256: b322ff3d3a980861e81cb497002644c05f4ce4a0b3ce63a554f254d72086ae91
Contents?: true
Size: 583 Bytes
Versions: 4
Compression:
Stored size: 583 Bytes
Contents
module Roark module Aws class Connection attr_accessor :region def initialize(args) @access_key_id = args[:access_key_id] @secret_access_key = args[:secret_access_key] @region = args[:region] end def config { :access_key_id => @access_key_id, :secret_access_key => @secret_access_key, :region => @region } end def cf @cf ||= AWS::CloudFormation.new config end def ec2 @ec2 ||= AWS::EC2.new config end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
roark-0.2.2 | lib/roark/aws/connection.rb |
roark-0.2.1 | lib/roark/aws/connection.rb |
roark-0.2.0 | lib/roark/aws/connection.rb |
roark-0.1.0 | lib/roark/aws/connection.rb |