lib/hubspot/discovery/crm/client.rb in hubspot-api-client-14.5.2 vs lib/hubspot/discovery/crm/client.rb in hubspot-api-client-15.0.0
- old
+ new
@@ -1,12 +1,15 @@
-require_rel '../base_module_client'
+require_relative '../base_module_client'
+require_relative '../../helpers/get_all_helper'
module Hubspot
module Discovery
module Crm
class Client
- def self.api_modules
+ include Hubspot::Discovery::BaseModuleClient
+
+ def api_modules
%i[
associations
companies
contacts
deals
@@ -22,11 +25,9 @@
schemas
tickets
timeline
].freeze
end
-
- include Hubspot::Discovery::BaseModuleClient
end
end
end
end