Class: EC2Launcher::AmiDetails
- Inherits:
-
Object
- Object
- EC2Launcher::AmiDetails
- Defined in:
- lib/ec2launcher.rb
Instance Attribute Summary collapse
-
#ami_id ⇒ Object
readonly
Returns the value of attribute ami_id.
-
#ami_name ⇒ Object
readonly
Returns the value of attribute ami_name.
Instance Method Summary collapse
-
#initialize(name, id) ⇒ AmiDetails
constructor
A new instance of AmiDetails.
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_id ⇒ Object (readonly)
Returns the value of attribute ami_id.
29 30 31 |
# File 'lib/ec2launcher.rb', line 29 def ami_id @ami_id end |
#ami_name ⇒ Object (readonly)
Returns the value of attribute ami_name.
29 30 31 |
# File 'lib/ec2launcher.rb', line 29 def ami_name @ami_name end |