Class: OracleCloud::ImageList
- Inherits:
-
Object
- Object
- OracleCloud::ImageList
- Defined in:
- lib/oraclecloud/imagelist.rb
Instance Attribute Summary collapse
-
#imagelist_data ⇒ Object
readonly
Returns the value of attribute imagelist_data.
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize(imagelist_data) ⇒ ImageList
constructor
A new instance of ImageList.
- #name ⇒ Object
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_data ⇒ Object (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
#description ⇒ Object
30 31 32 |
# File 'lib/oraclecloud/imagelist.rb', line 30 def description imagelist_data['description'].gsub(/\"/, '') end |
#name ⇒ Object
26 27 28 |
# File 'lib/oraclecloud/imagelist.rb', line 26 def name imagelist_data['name'] end |