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

Getting members of list by vars #36

Open
jizak opened this issue Feb 27, 2015 · 0 comments
Open

Getting members of list by vars #36

jizak opened this issue Feb 27, 2015 · 0 comments

Comments

@jizak
Copy link

jizak commented Feb 27, 2015

Hi, Is it possible to get members of list by vars?
What I have is:

@mailgun.list_members('MY_LIST').list()
=> [{"address"=>"[email protected]", "name"=>"", "subscribed"=>true, "vars"=>{}},
 ]

I'm trying to do something like this:

@mailgun.list_members('MY_LIST').list({ vars: { type: 'daily'}})
=> [,
 ]

and getting the same array.

But when I try to do like this:

@mailgun.list_members(MY_LIST).list({ address: '[email protected]'})
=> []

It gives correct response.
How can I use vars correctly?

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

1 participant