Class: TableSync::EventActions::DataWrapper::Base
- Inherits:
-
Object
- Object
- TableSync::EventActions::DataWrapper::Base
- Includes:
- Enumerable
- Defined in:
- lib/table_sync/event_actions/data_wrapper/base.rb
Instance Attribute Summary collapse
-
#event_data ⇒ Object
readonly
Returns the value of attribute event_data.
Instance Method Summary collapse
- #destroy? ⇒ Boolean
-
#initialize(event_data) ⇒ Base
constructor
A new instance of Base.
- #type ⇒ Object
- #update? ⇒ Boolean
Constructor Details
#initialize(event_data) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/table_sync/event_actions/data_wrapper/base.rb', line 8 def initialize(event_data) @event_data = event_data end |
Instance Attribute Details
#event_data ⇒ Object (readonly)
Returns the value of attribute event_data.
6 7 8 |
# File 'lib/table_sync/event_actions/data_wrapper/base.rb', line 6 def event_data @event_data end |
Instance Method Details
#destroy? ⇒ Boolean
16 17 18 |
# File 'lib/table_sync/event_actions/data_wrapper/base.rb', line 16 def destroy? false end |
#type ⇒ Object
12 13 14 |
# File 'lib/table_sync/event_actions/data_wrapper/base.rb', line 12 def type raise NoMethodError # NOTE: for clarity end |
#update? ⇒ Boolean
20 21 22 |
# File 'lib/table_sync/event_actions/data_wrapper/base.rb', line 20 def update? false end |