lib/troo/models/board.rb in troo-0.0.4 vs lib/troo/models/board.rb in troo-0.0.5
- old
+ new
@@ -19,8 +19,20 @@
end
def cards
Troo::Card.find(external_board_id: self.external_board_id)
end
+
+ def decorator(options = {})
+ BoardDecorator.new(self, options)
+ end
+
+ def presenter
+ BoardPresenter.new(self)
+ end
+
+ def set_default!
+ SetDefault.for(self)
+ end
end
end