Class: Plum::ConfigSync::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/services/plum/config_sync.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#createdObject

Returns the value of attribute created

Returns:

  • (Object)

    the current value of created



14
15
16
# File 'app/services/plum/config_sync.rb', line 14

def created
  @created
end

#deletedObject

Returns the value of attribute deleted

Returns:

  • (Object)

    the current value of deleted



14
15
16
# File 'app/services/plum/config_sync.rb', line 14

def deleted
  @deleted
end

#unchangedObject

Returns the value of attribute unchanged

Returns:

  • (Object)

    the current value of unchanged



14
15
16
# File 'app/services/plum/config_sync.rb', line 14

def unchanged
  @unchanged
end

#updatedObject

Returns the value of attribute updated

Returns:

  • (Object)

    the current value of updated



14
15
16
# File 'app/services/plum/config_sync.rb', line 14

def updated
  @updated
end

Instance Method Details

#summaryObject



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