Sha256: 33d0c38be145f3c0175420b445c44553c7d5a9ed5af333bc970e9f4cbdb30b66
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
module Fog module Compute class DigitalOceanV2 class Real def list_servers request( :expects => [200], :method => 'GET', :path => '/v2/droplets' ) end end # noinspection RubyStringKeysInHashInspection class Mock def list_servers response = Excon::Response.new response.status = 200 response.body = { "status" => "OK", "droplets" => self.data[:servers] } response end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems