Sha256: 1f665703f33cb8b0275bfd1e7d617c81e87bc776cf62369f24f8060f7a44fa8d

Contents?: true

Size: 513 Bytes

Versions: 14

Compression:

Stored size: 513 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_zone_view(_zone_view)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def get_zone_view(zone_view_name, zone)
          api_method = @resourceviews.zone_views.get
          parameters = {
            "projectName" => @project,
            "resourceViewName" => zone_view_name,
            "zone" => zone
          }

          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_zone_view.rb
fog-google-0.5.5 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.5.4 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.5.3 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.5.2 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.5.1 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.5.0 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.4.2 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.4.1 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.4.0 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.3.2 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.3.1 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.3.0 lib/fog/compute/google/requests/get_zone_view.rb
fog-google-0.2.0 lib/fog/compute/google/requests/get_zone_view.rb