Sha256: ef73d400a1f4fbff31ee15e1e505c450ce27f9684103e346ec47354c75edfef9
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spina-2.0.0.alpha | app/models/spina/parts/attachment.rb |