Class: StandardLedger::Projector::Definition
- Inherits:
-
Struct
- Object
- Struct
- StandardLedger::Projector::Definition
- Defined in:
- lib/standard_ledger/projector.rb
Overview
Captures the per-projection configuration declared by ‘projects_onto`. Stored on the entry class so `StandardLedger.post` and `StandardLedger.rebuild!` can iterate over them at runtime.
‘:view` and `:refresh_options` are populated only for `:matview`-mode projections; they’re ‘nil` for every other mode.
Instance Attribute Summary collapse
-
#guard ⇒ Object
Returns the value of attribute guard.
-
#handlers ⇒ Object
Returns the value of attribute handlers.
-
#lock ⇒ Object
Returns the value of attribute lock.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#options ⇒ Object
Returns the value of attribute options.
-
#permissive ⇒ Object
Returns the value of attribute permissive.
-
#projector_class ⇒ Object
Returns the value of attribute projector_class.
-
#recompute_sql ⇒ Object
Returns the value of attribute recompute_sql.
-
#refresh_options ⇒ Object
Returns the value of attribute refresh_options.
-
#target_association ⇒ Object
Returns the value of attribute target_association.
-
#trigger_name ⇒ Object
Returns the value of attribute trigger_name.
-
#view ⇒ Object
Returns the value of attribute view.
Instance Attribute Details
#guard ⇒ Object
Returns the value of attribute guard
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def guard @guard end |
#handlers ⇒ Object
Returns the value of attribute handlers
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def handlers @handlers end |
#lock ⇒ Object
Returns the value of attribute lock
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def lock @lock end |
#mode ⇒ Object
Returns the value of attribute mode
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def mode @mode end |
#options ⇒ Object
Returns the value of attribute options
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def @options end |
#permissive ⇒ Object
Returns the value of attribute permissive
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def permissive @permissive end |
#projector_class ⇒ Object
Returns the value of attribute projector_class
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def projector_class @projector_class end |
#recompute_sql ⇒ Object
Returns the value of attribute recompute_sql
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def recompute_sql @recompute_sql end |
#refresh_options ⇒ Object
Returns the value of attribute refresh_options
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def @refresh_options end |
#target_association ⇒ Object
Returns the value of attribute target_association
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def target_association @target_association end |
#trigger_name ⇒ Object
Returns the value of attribute trigger_name
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def trigger_name @trigger_name end |
#view ⇒ Object
Returns the value of attribute view
35 36 37 |
# File 'lib/standard_ledger/projector.rb', line 35 def view @view end |