Sha256: b2408b27fb2fb660a26eb7990110f5e06eeec92eae02f8daa7b3a50f1653b836

Contents?: true

Size: 195 Bytes

Versions: 3

Compression:

Stored size: 195 Bytes

Contents

module Smartdc::Api
  module Datacenters
    def datacenters(params={})
      get 'my/datacenters', params
    end

    def datacenter(id)
      get 'my/datacenters/' + id.to_s
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smartdc-2.0.2 lib/smartdc/api/datacenters.rb
smartdc-2.0.1 lib/smartdc/api/datacenters.rb
smartdc-2.0.0 lib/smartdc/api/datacenters.rb