Sha256: 1e9b32fee91e96957040bf2096eb2aec11f943643441959057c9e9ceeb0544c8

Contents?: true

Size: 402 Bytes

Versions: 6

Compression:

Stored size: 402 Bytes

Contents

module Fog
  module Compute
    class DigitalOcean
      class Real

        def power_on_server( id )
          request(
            :expects  => [200],
            :method   => 'GET',
            :path     => "droplets/#{id}/power_on"
          )
        end

      end

      class Mock

        def power_on_server( id )
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cifrado-0.2.1 vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb
cifrado-0.2.0 vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb
cifrado-0.1.3 vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb
cifrado-0.1.2 vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb
cifrado-0.1.1 vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb
cifrado-0.1 vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb