Sha256: 67d9f193ec09fd7b48d78b2e54b4a5312c125dcc45a8c66c58022e33da82df51
Contents?: true
Size: 684 Bytes
Versions: 14
Compression:
Stored size: 684 Bytes
Contents
module Fog module Compute class Google class Mock def insert_global_address(_address_name, _options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real INSERTABLE_ADDRESS_FIELDS = %i{description ip_version}.freeze def insert_global_address(address_name, options = {}) opts = options.select { |k, _| INSERTABLE_ADDRESS_FIELDS.include? k } .merge(:name => address_name) @compute.insert_global_address( @project, ::Google::Apis::ComputeV1::Address.new(**opts) ) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems