Class: TableSync::EventActions::DataWrapper::Update
- Inherits:
-
Base
- Object
- Base
- TableSync::EventActions::DataWrapper::Update
show all
- Defined in:
- lib/table_sync/event_actions/data_wrapper/update.rb
Instance Attribute Summary
Attributes inherited from Base
#event_data
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#destroy? ⇒ Boolean
14
15
16
|
# File 'lib/table_sync/event_actions/data_wrapper/update.rb', line 14
def destroy?
false
end
|
#each ⇒ Object
8
9
10
11
12
|
# File 'lib/table_sync/event_actions/data_wrapper/update.rb', line 8
def each
event_data.each_pair do |model_klass, changed_models_attrs|
yield([model_klass, changed_models_attrs])
end
end
|
#type ⇒ Object
4
5
6
|
# File 'lib/table_sync/event_actions/data_wrapper/update.rb', line 4
def type
:update
end
|
#update? ⇒ Boolean
18
19
20
|
# File 'lib/table_sync/event_actions/data_wrapper/update.rb', line 18
def update?
true
end
|