I'm getting an error when trying to get a company by ID
> client = Hubspot::Client.new(access_token: Rails.application.credentials.dig(:hubspot, :access_token))
=> #<Hubspot::Client:0x00007fcd66c2ec60 @params={access_token: "XXXXXX"}>
> client.crm.companies.basic_api.get_by_id('123')
/home/arash/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/irb-1.15.2/lib/irb.rb:406:in 'full_message': no implicit conversion of Symbol into Integer (TypeError)
params_with_defaults[:opts] ||= {}
^^^^^^^^^^^^^
Seems like it's related to this line, but I can't figure out if it's something I'm doing or a bug in the library. Looking at the code the opts are not required.