Class: Basecamp::Services::TodosExtensions::TodoFields
- Inherits:
-
Struct
- Object
- Struct
- Basecamp::Services::TodosExtensions::TodoFields
- Defined in:
- lib/basecamp/services/todos_extensions.rb
Overview
A todo'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 (+""+ for strings and dates, [] for ID lists) —
there is no third state. notify is a send directive, not todo
state: never populated from the current todo, sent only when true.
Instance Attribute Summary collapse
-
#assignee_ids ⇒ Object
Returns the value of attribute assignee_ids.
-
#completion_subscriber_ids ⇒ Object
Returns the value of attribute completion_subscriber_ids.
-
#content ⇒ Object
Returns the value of attribute content.
-
#description ⇒ Object
Returns the value of attribute description.
-
#due_on ⇒ Object
Returns the value of attribute due_on.
-
#notify ⇒ Object
Returns the value of attribute notify.
-
#starts_on ⇒ Object
Returns the value of attribute starts_on.
Instance Attribute Details
#assignee_ids ⇒ Object
Returns the value of attribute assignee_ids
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def assignee_ids @assignee_ids end |
#completion_subscriber_ids ⇒ Object
Returns the value of attribute completion_subscriber_ids
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def completion_subscriber_ids @completion_subscriber_ids end |
#content ⇒ Object
Returns the value of attribute content
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def content @content end |
#description ⇒ Object
Returns the value of attribute description
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def description @description end |
#due_on ⇒ Object
Returns the value of attribute due_on
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def due_on @due_on end |
#notify ⇒ Object
Returns the value of attribute notify
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def notify @notify end |
#starts_on ⇒ Object
Returns the value of attribute starts_on
23 24 25 |
# File 'lib/basecamp/services/todos_extensions.rb', line 23 def starts_on @starts_on end |