Sha256: 1904c8192c548c3b0743e5db721b620f5cd2bc8d7fd0ea77f03d557af1e172c7

Contents?: true

Size: 560 Bytes

Versions: 15

Compression:

Stored size: 560 Bytes

Contents

module Fog
  module Compute
    class Google

      class Mock

        def get_machine_type(machine_type_name)
          Fog::Mock.not_implemented
        end

      end

      class Real

        def get_machine_type(machine_type_name)
          api_method = @compute.machine_types.get
          parameters = {
            'project' => 'google',
            'machineType' => machine_type_name
          }

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

      end

    end
  end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/google/requests/compute/get_machine_type.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.15.0 lib/fog/google/requests/compute/get_machine_type.rb
gapinc-fog-1.14.0 lib/fog/google/requests/compute/get_machine_type.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.14.0 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.13.0 lib/fog/google/requests/compute/get_machine_type.rb
gapinc-fog-1.12.1.2 lib/fog/google/requests/compute/get_machine_type.rb
gapinc-fog-1.12.1.1 lib/fog/google/requests/compute/get_machine_type.rb
gapinc-fog-1.12.1a lib/fog/google/requests/compute/get_machine_type.rb
gapinc-fog-1.12.1 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.12.1 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.12.0 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.11.1 lib/fog/google/requests/compute/get_machine_type.rb
fog-1.11.0 lib/fog/google/requests/compute/get_machine_type.rb