Sha256: fe02f7892fbbfd4cfa3193333dbcf2cf3abd5156ab9c4977d75b95ab0217a80a

Contents?: true

Size: 416 Bytes

Versions: 6

Compression:

Stored size: 416 Bytes

Contents

module Fog
  module Compute
    class DigitalOcean
      class Real

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

      end

      class Mock

        def get_server_details(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/get_server_details.rb
cifrado-0.2.0 vendor/fog/lib/fog/digitalocean/requests/compute/get_server_details.rb
cifrado-0.1.3 vendor/fog/lib/fog/digitalocean/requests/compute/get_server_details.rb
cifrado-0.1.2 vendor/fog/lib/fog/digitalocean/requests/compute/get_server_details.rb
cifrado-0.1.1 vendor/fog/lib/fog/digitalocean/requests/compute/get_server_details.rb
cifrado-0.1 vendor/fog/lib/fog/digitalocean/requests/compute/get_server_details.rb