Class: Uploadcare::Param::Conversion::Document::ProcessingJobUrlBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/uploadcare/param/conversion/document/processing_job_url_builder.rb

Class Method Summary collapse

Class Method Details

.call(uuid:, format: nil, page: nil) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/uploadcare/param/conversion/document/processing_job_url_builder.rb', line 9

def call(uuid:, format: nil, page: nil)
  [
    uuid_part(uuid),
    format_part(format),
    page_part(page)
  ].compact.join('-')
end