Sha256: 69f6be1fd7818039f98c82773ee5bc9b77f53e2e8853e703e67a1deb2030f51c
Contents?: true
Size: 531 Bytes
Versions: 36
Compression:
Stored size: 531 Bytes
Contents
module Fog module Compute class Joyent class Mock def get_dataset(id) if ds = self.data[:datasets][id] res = Excon::Response.new res.status = 200 res.body = ds else raise Excon::Errors::NotFound end end end class Real def get_dataset request( :method => "GET", :path => "/my/datasets", :idempotent => true ) end end end end end
Version data entries
36 entries across 34 versions & 6 rubygems