Class: BlazingDocs::FileModel
- Defined in:
- lib/blazingdocs/models/file_model.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#download_url ⇒ Object
Returns the value of attribute download_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_accessed_at ⇒ Object
Returns the value of attribute last_accessed_at.
-
#last_modified_at ⇒ Object
Returns the value of attribute last_modified_at.
-
#length ⇒ Object
Returns the value of attribute length.
-
#name ⇒ Object
Returns the value of attribute name.
Method Summary
Methods inherited from BaseModel
Constructor Details
This class inherits a constructor from BlazingDocs::BaseModel
Instance Attribute Details
#content_type ⇒ Object
Returns the value of attribute content_type.
8 9 10 |
# File 'lib/blazingdocs/models/file_model.rb', line 8 def content_type @content_type end |
#created_at ⇒ Object
Returns the value of attribute created_at.
12 13 14 |
# File 'lib/blazingdocs/models/file_model.rb', line 12 def created_at @created_at end |
#download_url ⇒ Object
Returns the value of attribute download_url.
9 10 11 |
# File 'lib/blazingdocs/models/file_model.rb', line 9 def download_url @download_url end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/blazingdocs/models/file_model.rb', line 6 def id @id end |
#last_accessed_at ⇒ Object
Returns the value of attribute last_accessed_at.
14 15 16 |
# File 'lib/blazingdocs/models/file_model.rb', line 14 def last_accessed_at @last_accessed_at end |
#last_modified_at ⇒ Object
Returns the value of attribute last_modified_at.
13 14 15 |
# File 'lib/blazingdocs/models/file_model.rb', line 13 def last_modified_at @last_modified_at end |
#length ⇒ Object
Returns the value of attribute length.
10 11 12 |
# File 'lib/blazingdocs/models/file_model.rb', line 10 def length @length end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/blazingdocs/models/file_model.rb', line 7 def name @name end |