Class: ClassicApi::Resource::Image
- Defined in:
- lib/classic_api/resource/image.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#transform(options = {}) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/classic_api/resource/image.rb', line 8 def transform(={}) api.transformations.create( strategy: [:strategy], width: [:width], height: [:height], image_id: self.id ) end |