Sha256: 35acdf70a711c53c7d3285b47e2f290d7714a14ea0a82d60e5f55b756b6ea686

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

require_relative './base_response'

module ONEAccess
  module Response
    class PaginatedResponse < BaseResponse
      attr_accessor :total_count
      attr_accessor :has_more_records

      alias has_more_records? has_more_records
      alias more_records? has_more_records
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/response/paginated_response.rb
oneaccess-1.3.0 lib/oneaccess/response/paginated_response.rb