Class: Sipity::Comment

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/sipity/comment.rb

Overview

Represents a “comment” placed by the given :agent in regards to the give :entity

Instance Method Summary collapse

Instance Method Details

#name_of_commentorObject


9
10
11
# File 'app/models/sipity/comment.rb', line 9

def name_of_commentor
  agent.proxy_for.to_s
end