Class: Puree::Model::File
- Defined in:
- lib/puree/model/file.rb
Overview
Description of a file.
Instance Attribute Summary collapse
- #license ⇒ Puree::Model::CopyrightLicense?
- #mime ⇒ String?
- #name ⇒ String?
- #size ⇒ Integer?
- #url ⇒ String?
Method Summary
Methods inherited from Structure
Instance Attribute Details
#license ⇒ Puree::Model::CopyrightLicense?
21 22 23 |
# File 'lib/puree/model/file.rb', line 21 def license @license end |
#mime ⇒ String?
12 13 14 |
# File 'lib/puree/model/file.rb', line 12 def mime @mime end |
#name ⇒ String?
9 10 11 |
# File 'lib/puree/model/file.rb', line 9 def name @name end |
#size ⇒ Integer?
15 16 17 |
# File 'lib/puree/model/file.rb', line 15 def size @size end |
#url ⇒ String?
18 19 20 |
# File 'lib/puree/model/file.rb', line 18 def url @url end |