Sha256: 623e0568eb74916abb6e24b6055f90cc412fcff215ffad04e8edec65db88d39d

Contents?: true

Size: 462 Bytes

Versions: 14

Compression:

Stored size: 462 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_network(_network_name)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def delete_network(network_name)
          api_method = @compute.networks.delete
          parameters = {
            "project" => @project,
            "network" => network_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_network.rb
fog-google-0.5.5 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.5.4 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.5.3 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.5.2 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.5.1 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.5.0 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.4.2 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.4.1 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.4.0 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.3.2 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.3.1 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.3.0 lib/fog/compute/google/requests/delete_network.rb
fog-google-0.2.0 lib/fog/compute/google/requests/delete_network.rb