Class: Plum::ConfigSync::Result
- Inherits:
-
Struct
- Object
- Struct
- Plum::ConfigSync::Result
- Defined in:
- app/services/plum/config_sync.rb
Instance Attribute Summary collapse
-
#created ⇒ Object
Returns the value of attribute created.
-
#deleted ⇒ Object
Returns the value of attribute deleted.
-
#unchanged ⇒ Object
Returns the value of attribute unchanged.
-
#updated ⇒ Object
Returns the value of attribute updated.
Instance Method Summary collapse
Instance Attribute Details
#created ⇒ Object
Returns the value of attribute created
14 15 16 |
# File 'app/services/plum/config_sync.rb', line 14 def created @created end |
#deleted ⇒ Object
Returns the value of attribute deleted
14 15 16 |
# File 'app/services/plum/config_sync.rb', line 14 def deleted @deleted end |
#unchanged ⇒ Object
Returns the value of attribute unchanged
14 15 16 |
# File 'app/services/plum/config_sync.rb', line 14 def unchanged @unchanged end |
#updated ⇒ Object
Returns the value of attribute updated
14 15 16 |
# File 'app/services/plum/config_sync.rb', line 14 def updated @updated end |
Instance Method Details
#summary ⇒ Object
15 16 17 |
# File 'app/services/plum/config_sync.rb', line 15 def summary "#{created.length} created, #{updated.length} updated, #{unchanged.length} unchanged, #{deleted.length} deleted" end |