Module: Smartdc::Api::Packages

Included in:
Client
Defined in:
lib/smartdc/api/packages.rb

Instance Method Summary collapse

Instance Method Details

#package(id) ⇒ Object



7
8
9
# File 'lib/smartdc/api/packages.rb', line 7

def package(id)
  get 'my/packages/' + id.to_s
end

#packages(params = {}) ⇒ Object



3
4
5
# File 'lib/smartdc/api/packages.rb', line 3

def packages(params={})
  get 'my/packages', params
end