mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-04 21:02:35 +08:00
16 lines
319 B
Ruby
16 lines
319 B
Ruby
module PushDataHelper
|
|
extend ActiveSupport::Concern
|
|
|
|
def push_event_data
|
|
Conversations::EventDataPresenter.new(self).push_data
|
|
end
|
|
|
|
def lock_event_data
|
|
Conversations::EventDataPresenter.new(self).lock_data
|
|
end
|
|
|
|
def webhook_data
|
|
Conversations::EventDataPresenter.new(self).webhook_data
|
|
end
|
|
end
|