Sha256: 1048a074ed6ef44610853df2d9b9940d2408f1827ccffd4d880b89f8b607672d

Contents?: true

Size: 528 Bytes

Versions: 5

Compression:

Stored size: 528 Bytes

Contents

module Fog
  module Compute
    class Google

      class Mock

        def list_addresses(region_name)
          Fog::Mock.not_implemented
        end

      end

      class Real

        def list_addresses(region_name)
          api_method = @compute.addresses.list
          parameters = {
            'project' => @project,
            '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/list_addresses.rb
fog-1.21.0 lib/fog/google/requests/compute/list_addresses.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/google/requests/compute/list_addresses.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/google/requests/compute/list_addresses.rb
fog-1.20.0 lib/fog/google/requests/compute/list_addresses.rb