Class: Sipity::Agent

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

Overview

A proxy for something that can take an action.

  • A User can be an agent

  • A Group can be an agent (though Group is outside the scope of this system)

Constant Summary collapse

ENTITY_LEVEL_AGENT_RELATIONSHIP =
'entity_level'.freeze
WORKFLOW_LEVEL_AGENT_RELATIONSHIP =
'workflow_level'.freeze