Digicert has undocumented support to filter resources, and this commit adds the query filter support to our .all action, so if any of the class included this module then they will have access to filter results by passing the filters hash.
To make it more easier we have also added a wrapper interface around the .all interface, which will work exactly same but will wrap the provided arguments as filters key as pass those to the .all interface.
Digicert::Order.filter(status: "approved")
# Similar functionality with `.all` interface
Digicert::Order.all(filters: { status: "approved" })
Digicert has undocumented support to filter resources, and this commit adds the query filter support to our
.all
action, so if any of the class included this module then they will have access to filter results by passing thefilters
hash.To make it more easier we have also added a wrapper interface around the
.all
interface, which will work exactly same but will wrap the provided arguments asfilters
key as pass those to the.all
interface.Reference: Issue #100