class Piculet::EC2Wrapper

Public Class Methods

new(ec2, options) click to toggle source
# File lib/piculet/wrapper/ec2-wrapper.rb, line 3
def initialize(ec2, options)
  @ec2 = ec2
  @options = options.dup
end

Public Instance Methods

security_groups() click to toggle source
# File lib/piculet/wrapper/ec2-wrapper.rb, line 8
def security_groups
  SecurityGroupCollection.new(@ec2.security_groups, @options)
end
updated?() click to toggle source
# File lib/piculet/wrapper/ec2-wrapper.rb, line 12
def updated?
  !!@options.updated
end