Class: Ubuntu::Ami

Inherits:
Object
  • Object
show all
Defined in:
lib/ubuntu_ami.rb,
lib/ubuntu_ami/version.rb

Constant Summary collapse

VERSION =
'0.4.0'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, root_store, arch, region, virtualization_type) ⇒ Ami

Returns a new instance of Ami.



63
64
65
66
67
68
69
# File 'lib/ubuntu_ami.rb', line 63

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

#archObject (readonly)

Returns the value of attribute arch.



61
62
63
# File 'lib/ubuntu_ami.rb', line 61

def arch
  @arch
end

#nameObject (readonly)

Returns the value of attribute name.



61
62
63
# File 'lib/ubuntu_ami.rb', line 61

def name
  @name
end

#regionObject (readonly)

Returns the value of attribute region.



61
62
63
# File 'lib/ubuntu_ami.rb', line 61

def region
  @region
end

#root_storeObject (readonly)

Returns the value of attribute root_store.



61
62
63
# File 'lib/ubuntu_ami.rb', line 61

def root_store
  @root_store
end

#virtualization_typeObject (readonly)

Returns the value of attribute virtualization_type.



61
62
63
# File 'lib/ubuntu_ami.rb', line 61

def virtualization_type
  @virtualization_type
end