Class: BatchBook::List

Inherits:
Base
  • Object
show all
Defined in:
lib/batchbook.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#comment(id) ⇒ Object



427
428
429
# File 'lib/batchbook.rb', line 427

def comment(id)
  comments(id)
end

#comments(scope = :all) ⇒ Object



423
424
425
# File 'lib/batchbook.rb', line 423

def comments(scope = :all)
  Comment.find(scope, :params => {:list_id => self.id})
end