Class: Moysklad::Entities::Image
- Defined in:
- lib/moysklad/entities/image.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
build, #initialize, #to_json, #to_s
Constructor Details
This class inherits a constructor from Moysklad::Entities::Base
Instance Method Details
#download(client, dir) ⇒ Object
11 12 13 |
# File 'lib/moysklad/entities/image.rb', line 11 def download(client, dir) client.download .href, dir + filename end |