Class: Troo::Comment

Inherits:
Ohm::Model
  • Object
show all
Includes:
Ohm::DataTypes, ModelHelpers
Defined in:
lib/troo/models/comment.rb

Instance Method Summary collapse

Methods included from ModelHelpers

#external_attributes, included

Instance Method Details

#boardObject



19
20
21
# File 'lib/troo/models/comment.rb', line 19

def board
  Troo::BoardRetrieval.retrieve(self.external_board_id)
end

#cardObject



23
24
25
# File 'lib/troo/models/comment.rb', line 23

def card
  Troo::CardRetrieval.retrieve(self.external_card_id)
end

#memberObject



27
28
29
# File 'lib/troo/models/comment.rb', line 27

def member
  Troo::MemberRetrieval.retrieve(self.external_member_id)
end