Class: TableSync::EventActions::DataWrapper::Destroy

Inherits:
Base
  • Object
show all
Defined in:
lib/table_sync/event_actions/data_wrapper/destroy.rb

Instance Attribute Summary

Attributes inherited from Base

#event_data

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from TableSync::EventActions::DataWrapper::Base

Instance Method Details

#destroy?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/table_sync/event_actions/data_wrapper/destroy.rb', line 12

def destroy?
  true
end

#each {|event_data| ... } ⇒ Object

Yields:



8
9
10
# File 'lib/table_sync/event_actions/data_wrapper/destroy.rb', line 8

def each
  yield(event_data)
end

#typeObject



4
5
6
# File 'lib/table_sync/event_actions/data_wrapper/destroy.rb', line 4

def type
  :destroy
end

#update?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/table_sync/event_actions/data_wrapper/destroy.rb', line 16

def update?
  false
end