Class: Pageflow::OtherFileUrlTemplates Private

Inherits:
Object
  • Object
show all
Defined in:
app/models/pageflow/other_file_url_templates.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#callObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
7
8
# File 'app/models/pageflow/other_file_url_templates.rb', line 4

def call
  {
    original: UrlTemplate.from_attachment(example_file.attachment, :original)
  }
end