ApiResource Build Status

TODO: Write a gem description


Add this line to your application's Gemfile:

gem 'api_resource'

And then execute:

$ bundle

Or install it yourself as:

$ gem install api_resource


Extend ApiResource::Base to use this class in your application

class Post < ApiResource::Base


This class will behave like an ActiveRecord model complete with the ability to declare scopes, associations, attributes, validations, callbacks, etc.


  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