Module: BaseCrm::Noteable
Instance Method Summary collapse
Instance Method Details
#create_note(message) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/base_crm/noteable.rb', line 11 def create_note() pass_headers(Note).create({ :content => , :noteable_type => self.noteable_type, :noteable_id => self.id }) end |
#notes ⇒ Object
4 5 6 7 8 9 |
# File 'lib/base_crm/noteable.rb', line 4 def notes pass_headers(Note).params({ :noteable_type => self.noteable_type, :noteable_id => self.id }) end |