Sha256: a0aea4bbb8317b692c1202f86a738e591bab358da017765d6ff54e196cfb9f67

Contents?: true

Size: 384 Bytes

Versions: 6

Compression:

Stored size: 384 Bytes

Contents

module Fog
  module Compute
    class DigitalOcean 
      class Real

        def list_servers(options = {})
          request(
            :expects  => [200],
            :method   => 'GET',
            :path     => 'droplets'
          )
        end

      end

      class Mock

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