class Shrine::Derivation::Generate

  1. lib/shrine/plugins/derivation_endpoint.rb
Superclass: Command

Methods

Public Instance

  1. call

Public Instance methods

call(file = nil)
[show source]
    # File lib/shrine/plugins/derivation_endpoint.rb
577 def call(file = nil)
578   derivative = generate(file)
579   derivative = normalize(derivative)
580   derivative
581 end