class Troo::Board
Public Class Methods
remote()
click to toggle source
@return [Remote::Board]
# File lib/troo/models/board.rb, line 21 def remote Remote::Board end
type()
click to toggle source
@return [Symbol]
# File lib/troo/models/board.rb, line 26 def type :board end
Public Instance Methods
cards()
click to toggle source
@return [Ohm::Set]
# File lib/troo/models/board.rb, line 37 def cards Troo::Card.find(external_board_id: external_id) end
decorator(options = {})
click to toggle source
@param [Hash] @return []
# File lib/troo/models/board.rb, line 43 def decorator(options = {}) Decorators::Resource.new(self, options) end
lists()
click to toggle source
@return [Ohm::Set]
# File lib/troo/models/board.rb, line 32 def lists Troo::List.find(external_board_id: external_id) end
presenter(options = {})
click to toggle source
@param [Hash] @return [Troo::Presenters::Board]
# File lib/troo/models/board.rb, line 49 def presenter(options = {}) Presenters::Board.new(self, options) end
type()
click to toggle source
@return [Symbol]
# File lib/troo/models/board.rb, line 54 def type self.class.type end