16 lines
316 B
Ruby
16 lines
316 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).push_data
|
||
|
|
end
|
||
|
|
end
|