Sha256: 224160715cb74c5fdd819946883e532268e3d9c606aa6f5962dc2791f1e8138a

Contents?: true

Size: 453 Bytes

Versions: 14

Compression:

Stored size: 453 Bytes

Contents

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

      class Real
        def get_network(network_name)
          api_method = @compute.networks.get
          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/get_network.rb
fog-google-0.5.5 lib/fog/compute/google/requests/get_network.rb
fog-google-0.5.4 lib/fog/compute/google/requests/get_network.rb
fog-google-0.5.3 lib/fog/compute/google/requests/get_network.rb
fog-google-0.5.2 lib/fog/compute/google/requests/get_network.rb
fog-google-0.5.1 lib/fog/compute/google/requests/get_network.rb
fog-google-0.5.0 lib/fog/compute/google/requests/get_network.rb
fog-google-0.4.2 lib/fog/compute/google/requests/get_network.rb
fog-google-0.4.1 lib/fog/compute/google/requests/get_network.rb
fog-google-0.4.0 lib/fog/compute/google/requests/get_network.rb
fog-google-0.3.2 lib/fog/compute/google/requests/get_network.rb
fog-google-0.3.1 lib/fog/compute/google/requests/get_network.rb
fog-google-0.3.0 lib/fog/compute/google/requests/get_network.rb
fog-google-0.2.0 lib/fog/compute/google/requests/get_network.rb