Class: Basecamp::Services::DocumentsExtensions::DocumentFields
- Inherits:
-
Struct
- Object
- Struct
- Basecamp::Services::DocumentsExtensions::DocumentFields
- Defined in:
- lib/basecamp/services/documents_extensions.rb
Overview
A document's full writable state, yielded to the edit block. The
whole struct is PUT back to the server, so clearing a field means
setting it empty ("") — there is no third state. The writable
set is exactly what BC3 permits: title and content.
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
34 35 36 |
# File 'lib/basecamp/services/documents_extensions.rb', line 34 def content @content end |
#title ⇒ Object
Returns the value of attribute title
34 35 36 |
# File 'lib/basecamp/services/documents_extensions.rb', line 34 def title @title end |