Skip to content
forked from hhff/spree_ams

WIP - A module for Spree's API that responds as per Active Model Serializers

License

Notifications You must be signed in to change notification settings

upscalews/spree_ams

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree AMS

Build Status Dependency Status

Spree AMS is a module namspaced under Spree's Api module, providing a Spree Application with a collection of routes that behave identically to the regular api routes, but instead respond with serialized models (via the Active Model Serializers gem).

This gem does not modify Spree's existing API - it can be used alongside this gem.

Installation

Add spree_ams to your Spree store's Gemfile:

gem 'spree_ams', :github => 'hhff/spree_ams', :branch => '2-3-alpha'

Install the Initializer:

rails g spree:api:ams:install

Then run bundle and you're good to go!

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

Contributing

Generate docs from the Acceptance Tests (you'll need to generate your dummy test_app first)!

rake app:docs:generate

Copyright (c) 2014 Hugh Francis, released under the New BSD License

About

WIP - A module for Spree's API that responds as per Active Model Serializers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%