Sha256: ee0d16b54f1622f1cfc5697bae08aea338a1731906ddcfd67a6f20e09692bc2d

Contents?: true

Size: 289 Bytes

Versions: 53

Compression:

Stored size: 289 Bytes

Contents

module Pageflow
  class TextTrackFileUrlTemplates
    def call
      {
        vtt: UrlTemplate.from_attachment(example_file.attachment, :vtt)
      }
    end

    private

    def example_file
      @example_file ||= TextTrackFile.new(id: 0, file_name: ':basename.vtt')
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/models/pageflow/text_track_file_url_templates.rb
pageflow-17.0.3 app/models/pageflow/text_track_file_url_templates.rb
pageflow-17.0.2 app/models/pageflow/text_track_file_url_templates.rb
pageflow-17.0.1 app/models/pageflow/text_track_file_url_templates.rb
pageflow-17.0.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-16.2.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-16.1.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-16.0.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.8.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-14.5.2 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.7.1 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.7.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.6.1 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.6.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.5.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.4.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.3.0 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.2.2 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.2.1 app/models/pageflow/text_track_file_url_templates.rb
pageflow-15.2.0 app/models/pageflow/text_track_file_url_templates.rb