Class: Fog::Compute::Aliyun::Flavors

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/aliyun/models/compute/flavors.rb

Instance Method Summary collapse

Instance Method Details

#allObject



6
7
8
9
# File 'lib/fog/aliyun/models/compute/flavors.rb', line 6

def all
  data = Fog::JSON.decode(service.list_server_types.body)['InstanceTypes']['InstanceType']
  load(data)
end