Class: Rabarber::Audit::Events::Base
- Inherits:
-
Object
- Object
- Rabarber::Audit::Events::Base
- Defined in:
- lib/rabarber/audit/events/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#roleable ⇒ Object
readonly
Returns the value of attribute roleable.
-
#specifics ⇒ Object
readonly
Returns the value of attribute specifics.
Class Method Summary collapse
Instance Attribute Details
#roleable ⇒ Object (readonly)
Returns the value of attribute roleable.
9 10 11 |
# File 'lib/rabarber/audit/events/base.rb', line 9 def roleable @roleable end |
#specifics ⇒ Object (readonly)
Returns the value of attribute specifics.
9 10 11 |
# File 'lib/rabarber/audit/events/base.rb', line 9 def specifics @specifics end |
Class Method Details
.trigger(roleable, specifics) ⇒ Object
11 12 13 |
# File 'lib/rabarber/audit/events/base.rb', line 11 def self.trigger(roleable, specifics) new(roleable, specifics).send(:log) end |