class ScrumLint::List
Attributes
trello_list[RW]
Public Class Methods
new(trello_list)
click to toggle source
# File lib/scrum_lint/models/list.rb, line 9 def initialize(trello_list) self.trello_list = trello_list end
Public Instance Methods
cards()
click to toggle source
# File lib/scrum_lint/models/list.rb, line 17 def cards @cards ||= trello_list.cards.map do |card| ScrumLint::Card.new(card, list: self) end end
name()
click to toggle source
# File lib/scrum_lint/models/list.rb, line 13 def name trello_list.name end