lib/quirky-api/response/pagination.rb
def cursor_pagination_options
        {
          per_page: params[:per_page] || 10,
          cursor: params[:cursor],
          reverse: false,
          ambiguous_field: nil,
          field: 'id'
        }
      end
# Default options for cursor pagination.
Default options for cursor pagination.
Default options for cursor pagination .
def cursor_pagination_options
        {
          per_page: params[:per_page] || 10,
          cursor: params[:cursor],
          reverse: false,
          ambiguous_field: nil,
          field: 'id'
        }
      end
def cursor_pagination_options { per_page : params [ :per_page ] || 10 , cursor : params [ :cursor ] , reverse : false , ambiguous_field : nil , field : 'id' } end
Default options for cursor pagination.
Default options for cursor pagination .