Sha256: 770375c66abab63aa58e845f85c86c5911e11aee2d56bdecbf5221b9339f6069

Contents?: true

Size: 302 Bytes

Versions: 14

Compression:

Stored size: 302 Bytes

Contents

module Fog
  module Compute
    class Aliyun
      class Flavors < Fog::Collection
        model Fog::Compute::Aliyun::Flavor
        def all
          data = Fog::JSON.decode(service.list_server_types.body)['InstanceTypes']['InstanceType']
          load(data)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-aliyun-0.4.0 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.19 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.18 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.17 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.16 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.15 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.13 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.12 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.11 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.10 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.9 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.8 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.7 lib/fog/aliyun/models/compute/flavors.rb
fog-aliyun-0.3.6 lib/fog/aliyun/models/compute/flavors.rb