lib/hubspot/discovery/base_api_client.rb in hubspot-api-client-14.5.0 vs lib/hubspot/discovery/base_api_client.rb in hubspot-api-client-14.5.1
- old
+ new
@@ -9,10 +9,13 @@
@base_params = params
define_methods
end
def api_methods
- api.methods.grep(/with_http_info/).map {|elem| elem.to_s.gsub('_with_http_info', '').to_sym }
+ api.methods.grep(/with_http_info/).inject([]) do |methods, method|
+ methods << method
+ methods << method.to_s.gsub('_with_http_info', '').to_sym
+ end
end
def config
@config ||= new_config
end