Open dshorthouse opened 2 years ago
Help request here.
I am using an endpoint that uses page[offset] and page[limit] & so have made use of:
page[offset]
page[limit]
JsonApiClient::Paginating::NestedParamPaginator.page_param = "offset" JsonApiClient::Paginating::NestedParamPaginator.per_page_param = "limit"
But, this isn't correct because the endpoint expects an offset and not a page. How do I go about configuring this such that:
Model.page(X).per_page(Y)
...constructs the appropriate parameters when I send the model a page method?
page
Help request here.
I am using an endpoint that uses
page[offset]
andpage[limit]
& so have made use of:But, this isn't correct because the endpoint expects an offset and not a page. How do I go about configuring this such that:
...constructs the appropriate parameters when I send the model a
page
method?