Sha256: 48c97856683f9a5f1248168b84775412ae5ae6de9892a832b0ef5543454c6251
Contents?: true
Size: 454 Bytes
Versions: 14
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true require_relative 'application_api_client' # An usage example of the `my_api_client`. # See also: my_api/app/controllers/pagination_controller.rb class MyPaginationApiClient < ApplicationApiClient # GET pagination?page=1 def pagination pget 'pagination', paging: '$.links.next', headers: headers, query: { page: 1 } end private def headers { 'Content-Type': 'application/json;charset=UTF-8' } end end
Version data entries
14 entries across 14 versions & 1 rubygems