Sha256: 3b6b001d72620e42422d050989c760d67a304fb1cfa54d2df43b08a7f4afde04

Contents?: true

Size: 304 Bytes

Versions: 11

Compression:

Stored size: 304 Bytes

Contents

module Braintree
  class PaginatedResult
    include BaseModule

    attr_reader :total_items, :current_page, :page_size

    def initialize(total_items, page_size, current_page) # :nodoc:
      @total_items = total_items
      @current_page = current_page
      @page_size = page_size
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
braintree-2.80.1 lib/braintree/paginated_result.rb
braintree-2.80.0 lib/braintree/paginated_result.rb
braintree-2.79.0 lib/braintree/paginated_result.rb
braintree-2.78.0 lib/braintree/paginated_result.rb
braintree-2.77.0 lib/braintree/paginated_result.rb
braintree-2.76.0 lib/braintree/paginated_result.rb
braintree-2.75.0 lib/braintree/paginated_result.rb
braintree-2.74.0 lib/braintree/paginated_result.rb
braintree-2.73.0 lib/braintree/paginated_result.rb
braintree-2.72.0 lib/braintree/paginated_result.rb
braintree-2.71.0 lib/braintree/paginated_result.rb