Sha256: f0f018ef2188a000d7222892cedec9769e1a87b04d8625e836cddafbb0a6c3a3

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

RSpec.shared_context "headers" do |header_tags|
  if header_tags.include?(:Authorization)
    header "X-Pagination-Count", type: :integer, description: "Общее количество с учетом search"
    header "X-Pagination-Limit", type: :integer, description: "Количество элементов на странице"
    header "X-Pagination-Page", type: :integer, description: "Номер текущей страницы"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
care-0.1.6 lib/care/support/pagination.rb
care-0.1.5 lib/care/support/pagination.rb
care-0.1.4 lib/care/support/pagination.rb
care-0.1.3 lib/care/support/pagination.rb
care-0.1.1 lib/care/support/pagination.rb
care-0.1.0 lib/care/support/pagination.rb