README.md in petfinder-2.0.0 vs README.md in petfinder-2.0.1
- old
+ new
@@ -60,13 +60,13 @@
animals.first.photos.first.full
# => "https://dl5zpyw5k3jeb.cloudfront.net/photos/pets/47027518/2/?bust=1578168103"
animals.first.organization_id
# => "CA2350"
-animals.pagination.count_per_page
+pagination.count_per_page
# => "20"
-animals.pagination.total_pages
+pagination.total_pages
# => "8853"
```
#### Return a list of organizations (with pagination)
A hash of parameters can be passed to this method, but none are required. You can find the full set of allowable parameters here:
@@ -76,14 +76,14 @@
organizations, pagination = petfinder.organizations({ location: '90210', limit: 5 })
organizations.first.name
# => "STAR Eco Station"
-organizations.pagination.count_per_page
+pagination.count_per_page
# => "5"
-organizations.pagination.total_count
+pagination.total_count
# => "265"
-organizations.pagination.total_pages
+pagination.total_pages
# => "53"
```
#### Return information about the organization (shelter) with id "CA2350"