Sha256: 4b50a2e25b9a85752dede439917170896f5d05c1f3917904c6009e73fd84e95b

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

module AwsEc2
  class Ami
    def initialize(options)
      @options = options.clone
    end

    def run
      # Delegates to the Create command.
      # So we just have to set up the option for it.
      @options[:ami_name] = @options[:name]
      Create.new(@options).run
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aws-ec2-0.5.0 lib/aws_ec2/ami.rb
aws-ec2-0.4.0 lib/aws_ec2/ami.rb