Module: Smartdc::Api::Images

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

Instance Method Summary collapse

Instance Method Details

#image(id) ⇒ Object



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

def image(id)
  get 'my/images/' + id.to_s
end

#images(params = {}) ⇒ Object



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

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