However, this fails because this paginator doesn't have accessor methods for these attributes:
/Users/jaime/.rvm/gems/ruby-2.3.7/gems/json_api_client-1.16.1/lib/json_api_client/paginating/paginator.rb:4:in `<class:Paginator>': undefined method `class_attribute' for JsonApiClient::Paginating::Paginator:Class (NoMethodError)
Did you mean? class_variables
class_variable_get
class_variable_set
class
alias_attribute
from /Users/jaime/.rvm/gems/ruby-2.3.7/gems/json_api_client-1.16.1/lib/json_api_client/paginating/paginator.rb:3:in `<module:Paginating>'
from /Users/jaime/.rvm/gems/ruby-2.3.7/gems/json_api_client-1.16.1/lib/json_api_client/paginating/paginator.rb:2:in `<module:JsonApiClient>'
from /Users/jaime/.rvm/gems/ruby-2.3.7/gems/json_api_client-1.16.1/lib/json_api_client/paginating/paginator.rb:1:in `<top (required)>'
The other paginator, NestedParamPaginator, does work can be customized like:
The README suggests the following can be done to customize the page parameters:
However, this fails because this paginator doesn't have accessor methods for these attributes:
The other paginator,
NestedParamPaginator
, does work can be customized like: