Module: OperatorRecordable
- Defined in:
- lib/operator_recordable.rb,
lib/operator_recordable/store.rb,
lib/operator_recordable/version.rb,
lib/operator_recordable/recorder.rb,
lib/operator_recordable/extension.rb,
lib/operator_recordable/configuration.rb,
lib/operator_recordable/store/request_store.rb,
lib/operator_recordable/store/current_attributes_store.rb
Defined Under Namespace
Modules: Extension, Store
Classes: Configuration, CurrentAttributesStore, Recorder, RequestStore
Constant Summary
collapse
- VERSION =
"2.0.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
8
9
10
11
|
# File 'lib/operator_recordable.rb', line 8
def self.config
self.config = {} unless instance_variable_defined? :@config
@config
end
|
.config=(config) ⇒ Object
13
14
15
|
# File 'lib/operator_recordable.rb', line 13
def self.config=(config)
@config = Configuration.new(config)
end
|
.operator ⇒ Object
17
18
19
|
# File 'lib/operator_recordable.rb', line 17
def self.operator
config.store[operator_store_key]
end
|
.operator=(operator) ⇒ Object
21
22
23
|
# File 'lib/operator_recordable.rb', line 21
def self.operator=(operator)
config.store[operator_store_key] = operator
end
|