chargebee / chargebee-ruby

Ruby library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChargeBee::Customer.list filter param operators ("email[is]") do not work

benwoodward opened this issue · comments

ChargeBee::Customer.list({
    limit: 2,
    "email[is]" => "a-user@example.com"
})

The above code fails to find the user with the specified email. Instead it just lists all customers, most recent first.

EDIT: I have verified that this does work with curl, so it's not an API bug.

EDIT: I have tested this in 1.7.2 and 1.6.3

EDIT: Just realised I'm using V2 API code with V1 API client (1.7.2), hence why it's not working