Class: Jolt::ContactEvents

Inherits:
Data
  • Object
show all
Defined in:
lib/jolt/contact_events.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#addedObject (readonly)

Returns the value of attribute added

Returns:

  • (Object)

    the current value of added



14
15
16
# File 'lib/jolt/contact_events.rb', line 14

def added
  @added
end

#dropped_countObject (readonly)

Returns the value of attribute dropped_count

Returns:

  • (Object)

    the current value of dropped_count



14
15
16
# File 'lib/jolt/contact_events.rb', line 14

def dropped_count
  @dropped_count
end

#persistedObject (readonly)

Returns the value of attribute persisted

Returns:

  • (Object)

    the current value of persisted



14
15
16
# File 'lib/jolt/contact_events.rb', line 14

def persisted
  @persisted
end

#removedObject (readonly)

Returns the value of attribute removed

Returns:

  • (Object)

    the current value of removed



14
15
16
# File 'lib/jolt/contact_events.rb', line 14

def removed
  @removed
end

Class Method Details

.emptyObject



15
16
17
# File 'lib/jolt/contact_events.rb', line 15

def self.empty
  new(added: [].freeze, persisted: [].freeze, removed: [].freeze, dropped_count: 0)
end