Sha256: 0d2443a13205131d8e378fecb703e5dfc5a1ba15469f30433d3a3e63cbed0a84

Contents?: true

Size: 386 Bytes

Versions: 19

Compression:

Stored size: 386 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def stop_server(_identity, _zone)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def stop_server(identity, zone)
          @compute.stop_instance(@project, zone.split("/")[-1], identity)
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
fog-google-1.23.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.22.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.21.1 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.21.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.20.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.19.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.18.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.17.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.16.1 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.16.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.15.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.14.0 lib/fog/compute/google/requests/stop_server.rb
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.13.0 lib/fog/compute/google/requests/stop_server.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.12.1 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.12.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.11.0 lib/fog/compute/google/requests/stop_server.rb
fog-google-1.10.0 lib/fog/compute/google/requests/stop_server.rb