class Troo::List

Public Class Methods

remote() click to toggle source

@return [Remote::List]

# File lib/troo/models/list.rb, line 23
def remote
  Remote::List
end
type() click to toggle source

@return [Symbol]

# File lib/troo/models/list.rb, line 28
def type
  :list
end

Public Instance Methods

board() click to toggle source

@return []

# File lib/troo/models/list.rb, line 34
def board
  Troo::Board.retrieve(external_board_id)
end
cards() click to toggle source

@return [Ohm::Set]

# File lib/troo/models/list.rb, line 39
def cards
  Troo::Card.find(external_list_id: external_id)
end
decorator(options = {}) click to toggle source

@param [Hash] @return []

# File lib/troo/models/list.rb, line 45
def decorator(options = {})
  Decorators::Resource.new(self, options)
end
presenter(options = {}) click to toggle source

@param [Hash] @return [Troo::Presenters::List]

# File lib/troo/models/list.rb, line 51
def presenter(options = {})
  Presenters::List.new(self, options)
end
type() click to toggle source

@return [Symbol]

# File lib/troo/models/list.rb, line 56
def type
  self.class.type
end