Class: Basecampx::Document
- Defined in:
- lib/basecampx/resources/document.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#title ⇒ Object
Returns the value of attribute title.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
-
.all ⇒ Object
GET /documents.json.
Instance Method Summary collapse
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
#content ⇒ Object
Returns the value of attribute content.
6 7 8 |
# File 'lib/basecampx/resources/document.rb', line 6 def content @content end |
#created_at ⇒ Object
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/basecampx/resources/document.rb', line 6 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/basecampx/resources/document.rb', line 6 def id @id end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/basecampx/resources/document.rb', line 6 def title @title end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
6 7 8 |
# File 'lib/basecampx/resources/document.rb', line 6 def updated_at @updated_at end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/basecampx/resources/document.rb', line 6 def url @url end |
Class Method Details
Instance Method Details
#details ⇒ Object
17 18 19 |
# File 'lib/basecampx/resources/document.rb', line 17 def details update_details self.url end |