Class: Ddr::Models::AttachedFileProfile
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Ddr::Models::AttachedFileProfile
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/ddr/models/attached_file_profile.rb
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
7 8 9 |
# File 'lib/ddr/models/attached_file_profile.rb', line 7 def attributes { "size"=>nil, "mime_type"=>nil, "sha1"=>nil } end |
#sha1 ⇒ Object
11 12 13 |
# File 'lib/ddr/models/attached_file_profile.rb', line 11 def sha1 checksum.value end |