Sha256: 426e86b0d426d26c6e22e2b0200ff654bc2d5b16a47beaae5b445ab371a3b470
Contents?: true
Size: 671 Bytes
Versions: 26
Compression:
Stored size: 671 Bytes
Contents
module Fog module Brightbox class Compute class Real def update_api_client(identifier, options = {}) return nil if identifier.nil? || identifier == "" return nil if options.empty? || options.nil? request( :expects => [200], :method => 'PUT', :path => "/1.0/api_clients/#{identifier}", :headers => {"Content-Type" => "application/json"}, :body => options.to_json ) end end class Mock def update_api_client(identifier, options = {}) Fog::Mock.not_implemented end end end end end
Version data entries
26 entries across 26 versions & 3 rubygems