Skip to content

Getting members of list by vars #36

@jizak

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?

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