Sha256: f3e882b7437e5064942a5a56d19836996212587703686b93744101ae4a506d59
Contents?: true
Size: 845 Bytes
Versions: 66
Compression:
Stored size: 845 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
66 entries across 66 versions & 4 rubygems