Sha256: d2360e805f2ec2a43a89c3281cd2f69b557442bb77f994950336e0d9aa596a21

Contents?: true

Size: 299 Bytes

Versions: 24

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module Maglev
  class FetchSectionScreenshotUrl
    include Injectable

    dependency :fetch_section_screenshot_path
    argument :section

    def call
      fetch_section_screenshot_path.call(section: section) + "?#{section.screenshot_timestamp}"
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
maglevcms-1.7.3 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.7.2 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.7.1 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.7.0 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.6.1 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.6.0 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.5.1 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.4.0 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.3.0 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.2.2 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.2.1 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.2.0 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.7 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.6 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.5 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.4 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.3 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.2 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.1 app/services/maglev/fetch_section_screenshot_url.rb
maglevcms-1.1.0 app/services/maglev/fetch_section_screenshot_url.rb