Skip to content
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

undefined method `subscribers' for #<Drip::Response: #48

Closed
kivanio opened this issue Jun 5, 2018 · 4 comments
Closed

undefined method `subscribers' for #<Drip::Response: #48

kivanio opened this issue Jun 5, 2018 · 4 comments

Comments

@kivanio
Copy link

kivanio commented Jun 5, 2018

Upgrade to 3.x

@last_response = client.subscriber(user.email) return false unless @last_response.success? subscriber = @last_response.subscribers.first
@jonbuda
Copy link

jonbuda commented Jun 6, 2018

Similar but for accounts and campaigns. it doesn't seem like the response JSON is being parsed properly. Using gem v3.1.0 and Ruby 2.5.1

@will-in-wi
Copy link
Contributor

I see the issue, and am working on a fix…

@will-in-wi
Copy link
Contributor

Should be fixed in version 3.1.1.

@jonbuda
Copy link

jonbuda commented Jun 6, 2018

@will-in-wi excellent! thanks for the super quick turn-around!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants