Class: Trellodon::ChecklistItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/trellodon/entities/checklist_item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#due_dateObject

Returns the value of attribute due_date



4
5
6
# File 'lib/trellodon/entities/checklist_item.rb', line 4

def due_date
  @due_date
end

#idObject

Returns the value of attribute id



4
5
6
# File 'lib/trellodon/entities/checklist_item.rb', line 4

def id
  @id
end

#memberObject

Returns the value of attribute member



4
5
6
# File 'lib/trellodon/entities/checklist_item.rb', line 4

def member
  @member
end

#nameObject

Returns the value of attribute name



4
5
6
# File 'lib/trellodon/entities/checklist_item.rb', line 4

def name
  @name
end

#stateObject

Returns the value of attribute state



4
5
6
# File 'lib/trellodon/entities/checklist_item.rb', line 4

def state
  @state
end

Instance Method Details

#checked?Boolean



5
6
7
# File 'lib/trellodon/entities/checklist_item.rb', line 5

def checked?
  state == "complete"
end