ApiResource
ApiResource is an ActiveModel-compatible library for retrieving and persisting data via APIs
Getting Started
Add this line to your application's Gemfile:
gem 'api_resource'
And then execute:
$ bundle
Follow our Getting Started Guide to learn more about how to use ApiResource
Read more about some of the core concepts in ApiResource
The Resource Definition
Attributes
Relationships
Retrieving Records
Serialization
Caching
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request