Sha256: 5daf351a4f69ac73d8f659f44d8d8fb83052523ecfbb5068b83dc3421c7fedda

Contents?: true

Size: 527 Bytes

Versions: 14

Compression:

Stored size: 527 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_address(_address_name, _region_name)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def delete_address(address_name, region_name)
          api_method = @compute.addresses.delete
          parameters = {
            "project" => @project,
            "address" => address_name,
            "region" => region_name
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.5.5 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.5.4 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.5.3 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.5.2 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.5.1 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.5.0 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.4.2 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.4.1 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.4.0 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.3.2 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.3.1 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.3.0 lib/fog/compute/google/requests/delete_address.rb
fog-google-0.2.0 lib/fog/compute/google/requests/delete_address.rb