Sha256: 78a6a1bea1906d8fcbeadeb77892fbd049b27865174a7f25568d01daeae31754

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

class TableSync::EventActions::DataWrapper::Destroy < TableSync::EventActions::DataWrapper::Base
  def type
    :destroy
  end

  def each
    yield(event_data)
  end

  def destroy?
    true
  end

  def update?
    false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
table_sync-2.3.0 lib/table_sync/event_actions/data_wrapper/destroy.rb
table_sync-2.2.0 lib/table_sync/event_actions/data_wrapper/destroy.rb
table_sync-2.1.0 lib/table_sync/event_actions/data_wrapper/destroy.rb
table_sync-2.0.0 lib/table_sync/event_actions/data_wrapper/destroy.rb
table_sync-1.13.1 lib/table_sync/event_actions/data_wrapper/destroy.rb
table_sync-1.13.0 lib/table_sync/event_actions/data_wrapper/destroy.rb