class PetfinderV2::Serializers::Pagination
Attributes
count_per_page[R]
current_page[R]
links[R]
total_count[R]
total_pages[R]
Public Class Methods
new(data)
click to toggle source
# File lib/petfinder_V2/serializers/pagination.rb, line 10 def initialize(data) @count_per_page = data['count_per_page'] @total_count = data['total_count'] @current_page = data['current_page'] @total_pages = data['total_pages'] @links = data['_links'] end