def index(**params)
      params.stringify_keys!
      path = nest_path_within_parent(plural_resource_path, params)
      api_request(:get, path, params: params)
    end
def index(**params)
      params.stringify_keys!
      path = nest_path_within_parent(plural_resource_path, params)
      api_request(:get, path, params: params)
    end
Template method for fetching an index of record from the API.

 params - A Hash of params to send to the API.

 Returns Array