Sha256: 23503aca030da5e832618ff8f5b9b97bc0070145dcb38f988c0ff8a432eacb43

Contents?: true

Size: 325 Bytes

Versions: 19

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

19 entries across 19 versions & 1 rubygems

Version Path
oneaccess-1.2.0 lib/oneaccess/response/paginated_response.rb
oneaccess-1.1.0 lib/oneaccess/response/paginated_response.rb
oneaccess-1.0.1 lib/oneaccess/response/paginated_response.rb
oneaccess-1.0.0 lib/oneaccess/response/paginated_response.rb
oneaccess-0.5.0 lib/oneaccess/response/paginated_response.rb
oneaccess-0.4.5 lib/oneaccess/response/paginated_response.rb
oneaccess-0.4.4 lib/oneaccess/response/paginated_response.rb
oneaccess-0.4.3 lib/oneaccess/response/paginated_response.rb
oneaccess-0.4.2 lib/oneaccess/response/paginated_response.rb
oneaccess-0.4.1 lib/oneaccess/response/paginated_response.rb
oneaccess-0.4.0 lib/oneaccess/response/paginated_response.rb
oneaccess-0.3.0 lib/oneaccess/response/paginated_response.rb
oneaccess-0.2.0 lib/oneaccess/response/paginated_response.rb
oneaccess-0.1.9 lib/oneaccess/response/paginated_response.rb
oneaccess-0.1.8 lib/oneaccess/response/paginated_response.rb
oneaccess-0.1.7 lib/oneaccess/response/paginated_response.rb
oneaccess-0.1.6 lib/oneaccess/response/paginated_response.rb
oneaccess-0.1.5 lib/oneaccess/response/paginated_response.rb
oneaccess-0.1.4 lib/oneaccess/response/paginated_response.rb