Class: Arena::Entity::Attachment

Inherits:
Arena::Entity show all
Defined in:
lib/arena/entities/attachment.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

attr_reader, #initialize

Constructor Details

This class inherits a constructor from Arena::Base

Instance Attribute Details

#content_typeObject (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

#extensionObject (readonly)

Returns the value of attribute extension.



7
8
9
# File 'lib/arena/entities/attachment.rb', line 7

def extension
  @extension
end

#file_nameObject (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_sizeObject (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_displayObject (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

#urlObject (readonly)

Returns the value of attribute url.



7
8
9
# File 'lib/arena/entities/attachment.rb', line 7

def url
  @url
end