Class: Basecampx::Attachment
- Defined in:
- lib/basecampx/resources/attachment.rb
Instance Attribute Summary collapse
-
#attachable ⇒ Object
Returns the value of attribute attachable.
-
#byte_size ⇒ Object
Returns the value of attribute byte_size.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
-
.all ⇒ Object
GET /attachments.json.
Methods inherited from Resource
#delete, #initialize, parse, #save, #update_attributes
Methods included from Relations
Constructor Details
This class inherits a constructor from Basecampx::Resource
Instance Attribute Details
#attachable ⇒ Object
Returns the value of attribute attachable.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def attachable @attachable end |
#byte_size ⇒ Object
Returns the value of attribute byte_size.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def byte_size @byte_size end |
#content_type ⇒ Object
Returns the value of attribute content_type.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def content_type @content_type end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def created_at @created_at end |
#key ⇒ Object
Returns the value of attribute key.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def key @key end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/basecampx/resources/attachment.rb', line 4 def url @url end |