Sha256: 3b9100fc3c6bd18a04c49c992b9d931d0213067455779e67c44bc1e3ee98b624

Contents?: true

Size: 324 Bytes

Versions: 8

Compression:

Stored size: 324 Bytes

Contents

module Braintree
  class PaginatedResult
    include BaseModule

    attr_reader :current_page
    attr_reader :page_size
    attr_reader :total_items

    def initialize(total_items, page_size, current_page)
      @total_items = total_items
      @current_page = current_page
      @page_size = page_size
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/paginated_result.rb
braintree-4.22.0 lib/braintree/paginated_result.rb
braintree-4.21.0 lib/braintree/paginated_result.rb
braintree-4.20.0 lib/braintree/paginated_result.rb
braintree-4.19.0 lib/braintree/paginated_result.rb
braintree-4.18.0 lib/braintree/paginated_result.rb
braintree-4.17.0 lib/braintree/paginated_result.rb
braintree-4.16.0 lib/braintree/paginated_result.rb