Sha256: 3b6b12e7cdf7af739c02b81370efd239543d745e19b779badfd4a3586cc7c012
Contents?: true
Size: 314 Bytes
Versions: 1
Compression:
Stored size: 314 Bytes
Contents
module Tessera module Otrs class Attachment < Base attr_accessor :Content, :ContentType, :Filename def initialize(tempfile:) @Content = Base64.encode64(tempfile.read) @ContentType = tempfile.content_type @Filename = tempfile.original_filename end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tessera-1.0.0 | lib/tessera/otrs/attachment.rb |