Sha256: 079affff8f2ab51f265ef0fbf1efe89038e64d84aba6f860f78e20d98e133f7b

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

module RealSavvy::Concern::IndexForAdapter
  def index(page_size: nil, page_number: nil, page: {}, sort: {}, filter: {})
    page[:size] ||= page_size
    page[:number] ||= page_number
    get("./api/v3/#{path_prefix}", {page: page, sort: sort, filter: filter})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
real_savvy-0.0.12 lib/real_savvy/concern/index_for_adapter.rb