Class: Canvas::Models::File
- Defined in:
- app/models/canvas/models/file.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#hidden_for_user ⇒ Object
Returns the value of attribute hidden_for_user.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lock_at ⇒ Object
Returns the value of attribute lock_at.
-
#locked ⇒ Object
Returns the value of attribute locked.
-
#locked_for_user ⇒ Object
Returns the value of attribute locked_for_user.
-
#size ⇒ Object
Returns the value of attribute size.
-
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#url ⇒ Object
Returns the value of attribute url.
Method Summary
Methods inherited from BaseModel
#==, #after_initialize, #initialize
Constructor Details
This class inherits a constructor from Canvas::Models::BaseModel
Instance Attribute Details
#content_type ⇒ Object
Returns the value of attribute content_type.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def content_type @content_type end |
#created_at ⇒ Object
Returns the value of attribute created_at.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def created_at @created_at end |
#display_name ⇒ Object
Returns the value of attribute display_name.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def display_name @display_name end |
#hidden ⇒ Object
Returns the value of attribute hidden.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def hidden @hidden end |
#hidden_for_user ⇒ Object
Returns the value of attribute hidden_for_user.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def hidden_for_user @hidden_for_user end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def id @id end |
#lock_at ⇒ Object
Returns the value of attribute lock_at.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def lock_at @lock_at end |
#locked ⇒ Object
Returns the value of attribute locked.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def locked @locked end |
#locked_for_user ⇒ Object
Returns the value of attribute locked_for_user.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def locked_for_user @locked_for_user end |
#size ⇒ Object
Returns the value of attribute size.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def size @size end |
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def unlock_at @unlock_at end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def updated_at @updated_at end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'app/models/canvas/models/file.rb', line 3 def url @url end |