ApiResource

Build Status

ApiResource is an ActiveModel-compatible library for retrieving and persisting data via APIs

Getting Started

  1. Add this line to your application's Gemfile:

    gem 'api_resource'
    
  2. And then execute:

    $ bundle
    
  3. 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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request