Sha256: d7cfe7e98fb89e14a7a339f3893ba37a166e5feeea6176473a38389c6a4dceeb

Contents?: true

Size: 590 Bytes

Versions: 5

Compression:

Stored size: 590 Bytes

Contents

module Fog
  module Compute
    class Google

      class Mock

        def get_address(address_name, region_name)
          Fog::Mock.not_implemented
        end

      end

      class Real

        def get_address(address_name, region_name)
          api_method = @compute.addresses.get
          parameters = {
            'project' => @project,
            'address' => address_name,
            'region' => region_name
          }

          result = self.build_result(api_method, parameters)
          response = self.build_response(result)
        end

      end

    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
fog-1.22.0 lib/fog/google/requests/compute/get_address.rb
fog-1.21.0 lib/fog/google/requests/compute/get_address.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/google/requests/compute/get_address.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/google/requests/compute/get_address.rb
fog-1.20.0 lib/fog/google/requests/compute/get_address.rb