Sha256: cb31b9be2b580f414b974a4b0fea6c9d0b701825c76d80ad2d846e19a8e1c4a8
Contents?: true
Size: 420 Bytes
Versions: 6
Compression:
Stored size: 420 Bytes
Contents
module Spina module Parts class Attachment < Base attr_json :attachment_id, :integer, default: nil attr_json :signed_blob_id, :string, default: nil attr_json :filename, :string, default: "" def content self end def present? signed_blob_id.present? end def signed_id(expires_in: nil) signed_blob_id end end end end
Version data entries
6 entries across 6 versions & 1 rubygems