Sha256: 95116839e785d5bb457a2abbcfd05d798a2d3a47ad630d0184237f1d01d6f4a3

Contents?: true

Size: 592 Bytes

Versions: 66

Compression:

Stored size: 592 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Get full details of the server type.
        #
        # @param [String] identifier Unique reference to identify the resource
        #
        # @return [Hash] if successful Hash version of JSON object
        #
        # @see https://api.gb1.brightbox.com/1.0/#server_type_get_server_type
        #
        def get_server_type(identifier)
          return nil if identifier.nil? || identifier == ""
          wrapped_request("get", "/1.0/server_types/#{identifier}", [200])
        end

      end
    end
  end
end

Version data entries

66 entries across 66 versions & 4 rubygems

Version Path
gapinc-fog-1.12.1.2 lib/fog/brightbox/requests/compute/get_server_type.rb
gapinc-fog-1.12.1.1 lib/fog/brightbox/requests/compute/get_server_type.rb
gapinc-fog-1.12.1a lib/fog/brightbox/requests/compute/get_server_type.rb
gapinc-fog-1.12.1 lib/fog/brightbox/requests/compute/get_server_type.rb
fog-1.12.1 lib/fog/brightbox/requests/compute/get_server_type.rb
fog-1.12.0 lib/fog/brightbox/requests/compute/get_server_type.rb