Class: Basecamp::Services::TodosExtensions::TodoFields

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#assignee_idsObject

Returns the value of attribute assignee_ids

Returns:

  • (Object)

    the current value of assignee_ids



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def assignee_ids
  @assignee_ids
end

#completion_subscriber_idsObject

Returns the value of attribute completion_subscriber_ids

Returns:

  • (Object)

    the current value of completion_subscriber_ids



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def completion_subscriber_ids
  @completion_subscriber_ids
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def content
  @content
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def description
  @description
end

#due_onObject

Returns the value of attribute due_on

Returns:

  • (Object)

    the current value of due_on



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def due_on
  @due_on
end

#notifyObject

Returns the value of attribute notify

Returns:

  • (Object)

    the current value of notify



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def notify
  @notify
end

#starts_onObject

Returns the value of attribute starts_on

Returns:

  • (Object)

    the current value of starts_on



23
24
25
# File 'lib/basecamp/services/todos_extensions.rb', line 23

def starts_on
  @starts_on
end