Skip to content

Commit

Permalink
dry connection.modification_query send instead of public_send
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Yves committed Nov 8, 2024
1 parent 18e2143 commit a0ef2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hubspot/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def modification_query(verb, path, options)
no_parse = options[:params].delete(:no_parse) { false }
url = generate_url(path, options[:params])

response = public_send(
response = send(
verb,
url,
body: options[:body].to_json,
Expand Down

0 comments on commit a0ef2f9

Please sign in to comment.