Sha256: 619962481a974b603a33e3fc9c3c78bb482fc3096f4ad7ce3a43cd63c2bb5383
Contents?: true
Size: 587 Bytes
Versions: 17
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true module Karafka module Web module Ui module Controllers module Responses # Response that tells Roda to ship the content under a file name class File attr_reader :content, :file_name # @param content [String] data we want to send # @param file_name [String] name under which we want to send it def initialize(content, file_name) @content = content @file_name = file_name end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems