Sha256: 041bde28b95618a4e0b33207129d047bba53deeb53761dcb5fdf38ecfde374b5

Contents?: true

Size: 334 Bytes

Versions: 46

Compression:

Stored size: 334 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) # :nodoc:
      @total_items = total_items
      @current_page = current_page
      @page_size = page_size
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
braintree-3.0.1 lib/braintree/paginated_result.rb
braintree-2.104.1 lib/braintree/paginated_result.rb
braintree-2.104.0 lib/braintree/paginated_result.rb
braintree-2.103.0 lib/braintree/paginated_result.rb
braintree-2.102.0 lib/braintree/paginated_result.rb
braintree-2.101.0 lib/braintree/paginated_result.rb
braintree-2.100.0 lib/braintree/paginated_result.rb
braintree-2.99.0 lib/braintree/paginated_result.rb
braintree-2.98.0 lib/braintree/paginated_result.rb
braintree-2.97.0 lib/braintree/paginated_result.rb
braintree-2.96.0 lib/braintree/paginated_result.rb
braintree-2.95.0 lib/braintree/paginated_result.rb
braintree-2.94.0 lib/braintree/paginated_result.rb
braintree-2.93.0 lib/braintree/paginated_result.rb
braintree-2.92.0 lib/braintree/paginated_result.rb
braintree-2.91.0 lib/braintree/paginated_result.rb
braintree-2.90.0 lib/braintree/paginated_result.rb
braintree-2.89.0 lib/braintree/paginated_result.rb
braintree-2.88.0 lib/braintree/paginated_result.rb
braintree-2.87.0 lib/braintree/paginated_result.rb