Class: Shrine::Derivation::Url

Inherits:
Command
  • Object
show all
Defined in:
lib/shrine/plugins/derivation_endpoint.rb

Instance Attribute Summary

Attributes inherited from Command

#derivation

Instance Method Summary collapse

Methods inherited from Command

delegate, #initialize

Constructor Details

This class inherits a constructor from Shrine::Derivation::Command

Instance Method Details

#call(host: nil, prefix: nil, **options) ⇒ Object



305
306
307
# File 'lib/shrine/plugins/derivation_endpoint.rb', line 305

def call(host: nil, prefix: nil, **options)
  [host, *prefix, identifier(**options)].join("/")
end