Sha256: c455a47f76ff5932fe9649068dc5bf18fb85bcbc1742449edbc7b25c4e52cdc1
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
module Smartdc module Api class Datasets attr_reader :request def initialize(options) @request = Smartdc::Request.new(options) end def read(id) raise ArgumentError unless id request.get('my/datasets/' + id.to_s) end def all(query={}) request.get('my/datasets', query) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smartdc-1.3.0 | lib/smartdc/api/datasets.rb |