Sha256: 900fd5e8928ef13fe7f15a2b3aa265fa4decd41fdb65171c77cef983b494a35b

Contents?: true

Size: 563 Bytes

Versions: 7

Compression:

Stored size: 563 Bytes

Contents

module Fog
  module Compute
    class Google

      class Mock

        def get_disk(disk_name)
          Fog::Mock.not_implemented
        end

      end

      class Real

        def get_disk(disk_name, zone_name=@default_zone)
          api_method = @compute.disks.get
          parameters = {
            'project' => @project,
            'disk' => disk_name,
            'zone' => zone_name
          }

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

      end

    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
gapinc-fog-1.12.1.1 lib/fog/google/requests/compute/get_disk.rb
gapinc-fog-1.12.1a lib/fog/google/requests/compute/get_disk.rb
gapinc-fog-1.12.1 lib/fog/google/requests/compute/get_disk.rb
fog-1.12.1 lib/fog/google/requests/compute/get_disk.rb
fog-1.12.0 lib/fog/google/requests/compute/get_disk.rb
fog-1.11.1 lib/fog/google/requests/compute/get_disk.rb
fog-1.11.0 lib/fog/google/requests/compute/get_disk.rb