Class: Trellodon::Board
- Inherits:
-
Struct
- Object
- Struct
- Trellodon::Board
- Defined in:
- lib/trellodon/entities/board.rb
Instance Attribute Summary collapse
-
#card_ids ⇒ Object
Returns the value of attribute card_ids.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_activity_date ⇒ Object
Returns the value of attribute last_activity_date.
-
#lists ⇒ Object
Returns the value of attribute lists.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#card_ids ⇒ Object
Returns the value of attribute card_ids
4 5 6 |
# File 'lib/trellodon/entities/board.rb', line 4 def card_ids @card_ids end |
#id ⇒ Object
Returns the value of attribute id
4 5 6 |
# File 'lib/trellodon/entities/board.rb', line 4 def id @id end |
#last_activity_date ⇒ Object
Returns the value of attribute last_activity_date
4 5 6 |
# File 'lib/trellodon/entities/board.rb', line 4 def last_activity_date @last_activity_date end |
#lists ⇒ Object
Returns the value of attribute lists
4 5 6 |
# File 'lib/trellodon/entities/board.rb', line 4 def lists @lists end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/trellodon/entities/board.rb', line 4 def name @name end |
Instance Method Details
#get_list(list_id) ⇒ Object
5 6 7 8 |
# File 'lib/trellodon/entities/board.rb', line 5 def get_list(list_id) return nil if lists.nil? lists.find { |list| list.id == list_id } end |