Method: Fog::Compute::IBM::Image#initialize
- Defined in:
- lib/fog/ibm/models/compute/image.rb
#initialize(new_attributes = {}) ⇒ Image
Returns a new instance of Image.
37 38 39 40 |
# File 'lib/fog/ibm/models/compute/image.rb', line 37 def initialize(new_attributes = {}) super(new_attributes) attributes[:supported_instance_types] = Fog::Compute::IBM::InstanceTypes.new.load(attributes[:supported_instance_types]) if attributes[:supported_instance_types] end |