Sha256: 4acbfae09646ed24177e807d4d1343844f76d34385dc205e90ea9f3bb524ff00

Contents?: true

Size: 759 Bytes

Versions: 36

Compression:

Stored size: 759 Bytes

Contents

module Fog
  module Rackspace
    class Compute
      class Real

        # List all flavors
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'id'<~Integer> - Id of the flavor
        #     * 'name'<~String> - Name of the flavor
        #     * 'ram'<~Integer> - Amount of ram for the flavor
        #     * 'disk'<~Integer> - Amount of diskspace for the flavor
        def list_flavors_detail
          request(
            :expects  => [200, 203],
            :method   => 'GET',
            :path     => 'flavors/detail.json'
          )
        end

      end

      class Mock

        def list_flavors_detail
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
fog-0.3.34 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.33 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.32 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.31 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.30 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.29 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.28 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.27 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.26 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.25 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.24 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.23 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.22 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.21 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.20 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.19 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.18 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.17 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.16 lib/fog/rackspace/requests/compute/list_flavors_detail.rb