Sha256: 40f039a52524e5f4b4f7f5538c586929f760d335dd03bf930d2796f6c84c92af
Contents?: true
Size: 844 Bytes
Versions: 7
Compression:
Stored size: 844 Bytes
Contents
module Fog module Compute class Brightbox class Real # Update some details of the API client. # # @param [String] identifier Unique reference to identify the resource # @param [Hash] options # @option options [String] :name # @option options [String] :description # # @return [Hash] if successful Hash version of JSON object # @return [NilClass] if no options were passed # # @see https://api.gb1.brightbox.com/1.0/#api_client_update_api_client # def update_api_client(identifier, options) return nil if identifier.nil? || identifier == "" return nil if options.empty? || options.nil? wrapped_request("put", "/1.0/api_clients/#{identifier}", [200], options) end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems