Class: Troo::CreateList
- Inherits:
-
Object
- Object
- Troo::CreateList
- Defined in:
- lib/troo/actions/create_list.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(board, name) ⇒ CreateList
constructor
A new instance of CreateList.
- #perform ⇒ Object
Constructor Details
#initialize(board, name) ⇒ CreateList
Returns a new instance of CreateList.
9 10 11 12 |
# File 'lib/troo/actions/create_list.rb', line 9 def initialize(board, name) @board = board @name = name end |
Class Method Details
.for(board, name) ⇒ Object
4 5 6 |
# File 'lib/troo/actions/create_list.rb', line 4 def for(board, name) new(board, name).perform end |
Instance Method Details
#perform ⇒ Object
14 15 16 |
# File 'lib/troo/actions/create_list.rb', line 14 def perform update_lists end |