Skip to content

Lifebooker library to make REST calls act like ActiveRecord

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

LifebookerInc/api_resource

Repository files navigation

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 {file:docs/GettingStarted.md Getting Started Guide} to learn more about how to use ApiResource

Read more about some of the core concepts in ApiResource

{file:docs/ResourceDefinition.md The Resource Definition}

{file:docs/Attributes.md Attributes}

{file:docs/Relationships.md Relationships}

{file:docs/Retrieval.md Retrieving Records}

{file:docs/Serialization.md Serialization}

{file:docs/Caching.md 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

About

Lifebooker library to make REST calls act like ActiveRecord

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages