Class: LucidIntercom::Events::Uninstalled

Inherits:
Base
  • Object
show all
Defined in:
lib/lucid_intercom/events/uninstalled.rb

Instance Attribute Summary

Attributes inherited from Base

#credentials, #shop_attributes

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from LucidIntercom::Events::Base

Instance Method Details

#callObject



11
12
13
14
# File 'lib/lucid_intercom/events/uninstalled.rb', line 11

def call
  LucidIntercom::UpdateUser.new(shop_attributes, {plan: nil}, credentials).()
  LucidIntercom::SendEvent.new(shop_attributes, credentials).(event_name, )
end