Module: Ownership
- Defined in:
- lib/ownership.rb,
lib/ownership/rollbar.rb,
lib/ownership/version.rb,
lib/ownership/honeybadger.rb,
lib/ownership/job_methods.rb,
lib/ownership/global_methods.rb,
lib/ownership/controller_methods.rb
Defined Under Namespace
Modules: ControllerMethods, GlobalMethods, Honeybadger, JobMethods, Rollbar
Constant Summary collapse
- VERSION =
"0.4.0"
Class Attribute Summary collapse
-
.around_change ⇒ Object
Returns the value of attribute around_change.
-
.default_owner ⇒ Object
Returns the value of attribute default_owner.
Class Method Summary collapse
Class Attribute Details
.around_change ⇒ Object
Returns the value of attribute around_change.
11 12 13 |
# File 'lib/ownership.rb', line 11 def around_change @around_change end |
.default_owner ⇒ Object
Returns the value of attribute default_owner.
11 12 13 |
# File 'lib/ownership.rb', line 11 def default_owner @default_owner end |
Class Method Details
.owner ⇒ Object
13 14 15 |
# File 'lib/ownership.rb', line 13 def owner Thread.current[:ownership_owner] || default_owner end |