We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bbf64 commit 44b1606Copy full SHA for 44b1606
lib/justcall_ruby/api.rb
@@ -59,9 +59,8 @@ def request_url(endpoint)
59
60
def standardize_body_data(submitted_attrs:, permitted_attrs:)
61
submitted_attrs = submitted_attrs.deep_transform_keys(&:to_sym)
62
- permitted_attrs = submitted_attrs.select! { |k, _| permitted_attrs.include?(k) } || submitted_attrs
63
64
- permitted_attrs.deep_transform_keys { |k| k.to_s.camelize(:lower) }
+ submitted_attrs.select! { |k, _| permitted_attrs.include?(k) } || submitted_attrs
65
end
66
67
def convert_params_to_request_query(params)
0 commit comments