Class: Syncify::IdentifyAssociations
- Inherits:
-
ActiveInteraction::Base
- Object
- ActiveInteraction::Base
- Syncify::IdentifyAssociations
- Defined in:
- lib/syncify/identify_associations.rb
Instance Attribute Summary collapse
-
#association_registry ⇒ Object
Returns the value of attribute association_registry.
-
#identified_associations ⇒ Object
Returns the value of attribute identified_associations.
Instance Method Summary collapse
Instance Attribute Details
#association_registry ⇒ Object
Returns the value of attribute association_registry.
7 8 9 |
# File 'lib/syncify/identify_associations.rb', line 7 def association_registry @association_registry end |
#identified_associations ⇒ Object
Returns the value of attribute identified_associations.
7 8 9 |
# File 'lib/syncify/identify_associations.rb', line 7 def identified_associations @identified_associations end |
Instance Method Details
#execute ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/syncify/identify_associations.rb', line 9 def execute @association_registry = Set[] @identified_associations = {} remote do identify_associations(klass, identified_associations) simplify_associations(traverse_associations) end end |