prismicio/ruby-kit — pull request #30 by rudyrigot (2014-02-19 02:07:11+00:00)
Title: Exposing the pagination specifics in the API

Transforming this:

```ruby
results = api.form("everything").submit(@master_ref)
# results is an array of Document objects
```

into this:

```ruby
documents = api.form("everything").submit(@master_ref)
# documents.results is the array of Document objects
```

in order to be able to also do this: `documents.page`, `documents.total_results_size`, ...