Class: Arena::Entity::Attachment
- Inherits:
-
Arena::Entity
- Object
- Base
- Arena::Entity
- Arena::Entity::Attachment
- Defined in:
- lib/arena/entities/attachment.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#extension ⇒ Object
readonly
Returns the value of attribute extension.
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#file_size ⇒ Object
readonly
Returns the value of attribute file_size.
-
#file_size_display ⇒ Object
readonly
Returns the value of attribute file_size_display.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Arena::Base
Instance Attribute Details
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
7 8 9 |
# File 'lib/arena/entities/attachment.rb', line 7 def content_type @content_type end |
#extension ⇒ Object (readonly)
Returns the value of attribute extension.
7 8 9 |
# File 'lib/arena/entities/attachment.rb', line 7 def extension @extension end |
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name.
7 8 9 |
# File 'lib/arena/entities/attachment.rb', line 7 def file_name @file_name end |
#file_size ⇒ Object (readonly)
Returns the value of attribute file_size.
7 8 9 |
# File 'lib/arena/entities/attachment.rb', line 7 def file_size @file_size end |
#file_size_display ⇒ Object (readonly)
Returns the value of attribute file_size_display.
7 8 9 |
# File 'lib/arena/entities/attachment.rb', line 7 def file_size_display @file_size_display end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/arena/entities/attachment.rb', line 7 def url @url end |