Class: Ubuntu::Ami
- Inherits:
-
Object
- Object
- Ubuntu::Ami
- Defined in:
- lib/ubuntu_ami.rb,
lib/ubuntu_ami/version.rb
Overview
Provides accessors for the properties of the AMI list.
Constant Summary collapse
- VERSION =
'0.4.3'
Instance Attribute Summary collapse
-
#arch ⇒ Object
readonly
Returns the value of attribute arch.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#region ⇒ Object
readonly
Returns the value of attribute region.
-
#root_store ⇒ Object
readonly
Returns the value of attribute root_store.
-
#virtualization_type ⇒ Object
readonly
Returns the value of attribute virtualization_type.
Instance Method Summary collapse
-
#initialize(name, root_store, arch, region, virtualization_type) ⇒ Ami
constructor
A new instance of Ami.
Constructor Details
#initialize(name, root_store, arch, region, virtualization_type) ⇒ Ami
Returns a new instance of Ami.
80 81 82 83 84 85 86 |
# File 'lib/ubuntu_ami.rb', line 80 def initialize(name, root_store, arch, region, virtualization_type) @name = name @root_store = root_store @arch = arch @region = region @virtualization_type = virtualization_type end |
Instance Attribute Details
#arch ⇒ Object (readonly)
Returns the value of attribute arch.
78 79 80 |
# File 'lib/ubuntu_ami.rb', line 78 def arch @arch end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
78 79 80 |
# File 'lib/ubuntu_ami.rb', line 78 def name @name end |
#region ⇒ Object (readonly)
Returns the value of attribute region.
78 79 80 |
# File 'lib/ubuntu_ami.rb', line 78 def region @region end |
#root_store ⇒ Object (readonly)
Returns the value of attribute root_store.
78 79 80 |
# File 'lib/ubuntu_ami.rb', line 78 def root_store @root_store end |
#virtualization_type ⇒ Object (readonly)
Returns the value of attribute virtualization_type.
78 79 80 |
# File 'lib/ubuntu_ami.rb', line 78 def virtualization_type @virtualization_type end |