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