class Troo::Comment

Public Class Methods

remote() click to toggle source

@return [Remote::Comment]

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

@return [Symbol]

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

Public Instance Methods

board() click to toggle source

@return []

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

@return []

# File lib/troo/models/comment.rb, line 39
def card
  Troo::Card.retrieve(external_card_id)
end
decorator(options = {}) click to toggle source

@param [Hash] @return []

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

@return [FalseClass]

# File lib/troo/models/comment.rb, line 55
def default?
  false
end
member() click to toggle source

@return []

# File lib/troo/models/comment.rb, line 44
def member
  Troo::Member.retrieve(external_member_id)
end
type() click to toggle source

@return [Symbol]

# File lib/troo/models/comment.rb, line 60
def type
  self.class.type
end