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



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

def name_of_commentor
  agent.proxy_for.to_s
end