Sha256: b1f9418fdee1b3af9fad5538354ddea33a3ad5a44375f1f4379022d58406ba45
Contents?: true
Size: 1.19 KB
Versions: 23
Compression:
Stored size: 1.19 KB
Contents
module Fog module Brightbox class Compute class Real # Update some details of your user profile. # # @param [String] identifier Unique reference to identify the resource # @param [Hash] options # @option options [String] :name # @option options [String] :email_address # @option options [String] :ssh_key # @option options [String] :password A password string that conforms to the minimum requirements # @option options [String] :password_confirmation A password string that conforms to the minimum requirements # @option options [Boolean] :nested passed through with the API request. When true nested resources are expanded. # # @return [Hash] if successful Hash version of JSON object # @return [NilClass] if no options were passed # # @see https://api.gb1.brightbox.com/1.0/#user_update_user # def update_user(identifier, options) return nil if identifier.nil? || identifier == "" return nil if options.empty? || options.nil? wrapped_request("put", "/1.0/users/#{identifier}", [200], options) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems