Sha256: ebce8525e259cf8bfee72b00a31836ac86bc2e339de03f7f485d6a87ff893ab9
Contents?: true
Size: 874 Bytes
Versions: 12
Compression:
Stored size: 874 Bytes
Contents
module Fog module Brightbox class Compute class Real # @param [String] identifier Unique reference to identify the resource # @param [Hash] options # @option options [String] :name to identifier this config map # @option options [Hash] :data key/values to expose in config map # @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 # def update_config_map(identifier, options) return nil if identifier.nil? || identifier == "" return nil if options.empty? || options.nil? wrapped_request("put", "/1.0/config_maps/#{identifier}", [200], options) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems