Class: Shrine::Derivation::Response
- Defined in:
- lib/shrine/plugins/derivation_endpoint.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Shrine::Derivation::Command
Instance Method Details
#call(env) ⇒ Object
462 463 464 465 466 467 468 |
# File 'lib/shrine/plugins/derivation_endpoint.rb', line 462 def call(env) if upload upload_response(env) else local_response(env) end end |