Class: EC2Launcher::AmiDetails

Inherits:
Object
  • Object
show all
Defined in:
lib/ec2launcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, id) ⇒ AmiDetails

Returns a new instance of AmiDetails.



31
32
33
34
# File 'lib/ec2launcher.rb', line 31

def initialize(name, id)
  @ami_name = name
  @ami_id = id
end

Instance Attribute Details

#ami_idObject (readonly)

Returns the value of attribute ami_id.



29
30
31
# File 'lib/ec2launcher.rb', line 29

def ami_id
  @ami_id
end

#ami_nameObject (readonly)

Returns the value of attribute ami_name.



29
30
31
# File 'lib/ec2launcher.rb', line 29

def ami_name
  @ami_name
end