You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client then gives you access to each of the resources.
32
+
33
+
## Resources
34
+
The gem maps as closely as we can to the Render API so you can easily convert API examples to gem code.
35
+
36
+
Responses are created as objects like RenderRuby::Owner. Having types like RenderRuby::Owner is handy for understanding what type of object you're working with. They're built using OpenStruct so you can easily access data in a Ruby-ish way.
37
+
38
+
#### Pagination
39
+
40
+
`list` endpoints return pages of results. The result object will have a data key to access the results, as well as metadata like next_cursor and prev_cursor for retrieving the next and previous pages. You may also specify the
41
+
42
+
```ruby
43
+
results = client.owners.list(limit:100) # limit is optional, defaults to 20.
Bug reports and pull requests are welcome on GitHub at https://github.com/nejdetkadir/render_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/nejdetkadir/render_ruby/blob/main/CODE_OF_CONDUCT.md).
200
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nejdetkadir/render-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/nejdetkadir/render-ruby/blob/main/CODE_OF_CONDUCT.md).
28
201
29
202
## License
30
203
31
204
The gem is available as open source under the terms of the [MIT License](LICENSE).
32
205
33
206
## Code of Conduct
34
207
35
-
Everyone interacting in the RenderRuby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nejdetkadir/render_ruby/blob/main/CODE_OF_CONDUCT.md).
208
+
Everyone interacting in the RenderRuby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nejdetkadir/render-ruby/blob/main/CODE_OF_CONDUCT.md).
0 commit comments