-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError: undefined method `keys' for "OtherField":String #30
Comments
I have run into this today too. the The curl command works fine though.
but calling |
I'm having some trouble reproducing. Is this still an issue in the latest version? |
Reproduced. This code (taken directly from documentation here) raises an exception. require 'drip'
client = Drip::Client.new do |c|
c.api_key = "YOUR API KEY"
c.account_id = "YOUR_ACCOUNT_ID"
end
response = client.custom_fields . # <- Exception occurs here Exception:
To reproduce, be sure you have custom fields on the account. |
I had an error when I try to do a request to get
custom_fields
from my Drip account.This is the code line:
client.get("#{client.account_id}/custom_field_identifiers", {})
, "OtherField" is one of my custom fieldsThe text was updated successfully, but these errors were encountered: