Class: OracleCloud::ImageList

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imagelist_data) ⇒ ImageList

Returns a new instance of ImageList.



22
23
24
# File 'lib/oraclecloud/imagelist.rb', line 22

def initialize(imagelist_data)
  @imagelist_data = imagelist_data
end

Instance Attribute Details

#imagelist_dataObject (readonly)

Returns the value of attribute imagelist_data.



20
21
22
# File 'lib/oraclecloud/imagelist.rb', line 20

def imagelist_data
  @imagelist_data
end

Instance Method Details

#descriptionObject



30
31
32
# File 'lib/oraclecloud/imagelist.rb', line 30

def description
  imagelist_data['description'].gsub(/\"/, '')
end

#nameObject



26
27
28
# File 'lib/oraclecloud/imagelist.rb', line 26

def name
  imagelist_data['name']
end