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.15 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.14 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.13 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.12 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.11 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.10 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.9 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.8 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.7 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.6 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.5 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.4 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.3 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.2 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.1 lib/fog/rackspace/requests/compute/list_flavors_detail.rb
fog-0.3.0 lib/fog/rackspace/requests/compute/list_flavors_detail.rb