Class: HasHelpers::Cards::Importer::Diff
- Inherits:
-
Struct
- Object
- Struct
- HasHelpers::Cards::Importer::Diff
- Defined in:
- app/importers/has_helpers/cards/importer.rb
Overview
Struct representing the diff between DSL and DB for a single card. Auditing / drift:
- card_changes: :new, :same, :changed
- fields_added / fields_removed / fields_changed
- resources_added / resources_removed
Instance Attribute Summary collapse
-
#card_changes ⇒ Object
Returns the value of attribute card_changes.
-
#fields_added ⇒ Object
Returns the value of attribute fields_added.
-
#fields_changed ⇒ Object
Returns the value of attribute fields_changed.
-
#fields_removed ⇒ Object
Returns the value of attribute fields_removed.
-
#resources_added ⇒ Object
Returns the value of attribute resources_added.
-
#resources_removed ⇒ Object
Returns the value of attribute resources_removed.
Instance Attribute Details
#card_changes ⇒ Object
Returns the value of attribute card_changes
61 62 63 |
# File 'app/importers/has_helpers/cards/importer.rb', line 61 def card_changes @card_changes end |
#fields_added ⇒ Object
Returns the value of attribute fields_added
61 62 63 |
# File 'app/importers/has_helpers/cards/importer.rb', line 61 def fields_added @fields_added end |
#fields_changed ⇒ Object
Returns the value of attribute fields_changed
61 62 63 |
# File 'app/importers/has_helpers/cards/importer.rb', line 61 def fields_changed @fields_changed end |
#fields_removed ⇒ Object
Returns the value of attribute fields_removed
61 62 63 |
# File 'app/importers/has_helpers/cards/importer.rb', line 61 def fields_removed @fields_removed end |
#resources_added ⇒ Object
Returns the value of attribute resources_added
61 62 63 |
# File 'app/importers/has_helpers/cards/importer.rb', line 61 def resources_added @resources_added end |
#resources_removed ⇒ Object
Returns the value of attribute resources_removed
61 62 63 |
# File 'app/importers/has_helpers/cards/importer.rb', line 61 def resources_removed @resources_removed end |