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 `collect!' when try to run find :all #2

Open
akeelahmedqureshi opened this issue Aug 28, 2012 · 1 comment
Open

undefined method `collect!' when try to run find :all #2

akeelahmedqureshi opened this issue Aug 28, 2012 · 1 comment

Comments

@akeelahmedqureshi
Copy link

Hello,

I am getting below error when i try to run ConstantContact::List.find :all command

(rdb:2) ConstantContact::List.find :all
NoMethodError Exception: undefined method `collect!' for #<Net::HTTPOK 200 OK readbody=true>

can you please help me out?

Thanks
Akeel

@patsanch
Copy link
Owner

ConstantContact::List doesn't have find method. It has get_lists.

You use it like this:
cc = ConstantContact::Connect.new(username, password, key)
cc.get_lists

I'm sorry I haven't updated this in a very long while and I still don't have enough time to work on it.

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

2 participants