Class: TempoIQ::DeleteSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/tempoiq/models/delete_summary.rb

Overview

When deleting multiple objects from a TempoIQ backend, return information about what was actually deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deleted) ⇒ DeleteSummary

Returns a new instance of DeleteSummary.



8
9
10
# File 'lib/tempoiq/models/delete_summary.rb', line 8

def initialize(deleted)
  @deleted = deleted
end

Instance Attribute Details

#deletedObject (readonly)

Number of objects deleted in the call



6
7
8
# File 'lib/tempoiq/models/delete_summary.rb', line 6

def deleted
  @deleted
end