Class: Imagga::CropOptions
- Inherits:
-
BaseOptions
- Object
- BaseOptions
- Imagga::CropOptions
- Defined in:
- lib/imagga/options.rb
Instance Attribute Summary
Attributes inherited from BaseOptions
#api_key, #api_secret, #version
Instance Method Summary collapse
Methods inherited from BaseOptions
#base_options, #initialize, #sign
Methods included from Parametizer
#build_boolean_options, #build_comma_separated_string
Constructor Details
This class inherits a constructor from Imagga::BaseOptions
Instance Method Details
#method ⇒ Object
70 71 72 |
# File 'lib/imagga/options.rb', line 70 def method 'imagga.process.crop' end |
#options(opts = {}) ⇒ Object
64 65 66 67 68 |
# File 'lib/imagga/options.rb', line 64 def (opts={}) = .merge(opts).merge(method: method) .merge!((opts, :no_scaling)) .merge!(sig: sign()) end |