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.
21 22 23 24 |
# File 'lib/ec2launcher.rb', line 21 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.
19 20 21 |
# File 'lib/ec2launcher.rb', line 19 def ami_id @ami_id end |
#ami_name ⇒ Object (readonly)
Returns the value of attribute ami_name.
19 20 21 |
# File 'lib/ec2launcher.rb', line 19 def ami_name @ami_name end |