Sha256: 1db7ed533ce7272dd5cd37b2c61b4da9817bda3494ef241c38eaeb98896a37f5

Contents?: true

Size: 559 Bytes

Versions: 14

Compression:

Stored size: 559 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_server_serial_port_output(_identity, _zone)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def get_server_serial_port_output(identity, zone)
          api_method = @compute.instances.get_serial_port_output
          parameters = {
            "project"  => @project,
            "instance" => identity,
            "zone"     => zone.split("/")[-1]
          }

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