lib/zendesk.rb in killbill-zendesk-0.1.1 vs lib/zendesk.rb in killbill-zendesk-0.2.0

- old
+ new

@@ -23,9 +23,9 @@ # return DB connections to the Pool if required ActiveRecord::Base.connection.close end def on_event(event) - @updater.update(event.account_id) if [:ACCOUNT_CREATION, :ACCOUNT_CHANGE].include?(event.event_type.enum) + @updater.update(event.account_id) if [:ACCOUNT_CREATION, :ACCOUNT_CHANGE].include?(event.event_type) end end end