Sha256: 1642ed1da31c700359b2a370bbba0122bbc264f40cd6e75b73b07654f40cb90a
Contents?: true
Size: 883 Bytes
Versions: 1
Compression:
Stored size: 883 Bytes
Contents
require 'smartdc/api/keys' require 'smartdc/api/datacenters' require 'smartdc/api/datasets' require 'smartdc/api/packages' require 'smartdc/api/machines' require 'smartdc/api/analytics' module Smartdc class Client attr_reader :request def initialize(options={}) @request ||= Smartdc::Request.new(options) end def format=(format) @request.format = format end def keys(id=nil) Smartdc::Api::Keys.new(request, id) end def datacenters(id=nil) Smartdc::Api::Datacenters.new(request, id) end def datasets(id=nil) Smartdc::Api::Datasets.new(request, id) end def packages(id=nil) Smartdc::Api::Packages.new(request, id) end def machines(id=nil) Smartdc::Api::Machines.new(request, id) end def analytics(id=nil) Smartdc::Api::Analytics.new(request, id) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smartdc-0.4.0 | lib/smartdc/client.rb |