Skip to content

Getting members of list by vars #36

Description

@jizak

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

@mailgun.list_members('MY_LIST').list()
=> [{"address"=>"some@email.com", "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: 'pavlo.shabat@gmail.com'})
=> []

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions