Sha256: b47830a02104408f42b9e766ac06ee8213e8b6b35c238f63feea90c57696b09f
Contents?: true
Size: 752 Bytes
Versions: 12
Compression:
Stored size: 752 Bytes
Contents
module Fog module Brightbox class Compute class Real # Create a new config map # # @param [Hash] options # @option options [String] :name to identify 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 create_config_map(options) return nil if options.empty? || options.nil? wrapped_request("post", "/1.0/config_maps", [200], options) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems