An open API service indexing awesome lists of open source software.

https://github.com/misinformeddna/spree_promotion_api


https://github.com/misinformeddna/spree_promotion_api

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

SpreePromotionApi
=================

Introduction goes here.

Installation
------------

Add spree_promotion_api to your Gemfile:

```ruby
gem 'spree_promotion_api'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_promotion_api:install
```

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`.

```shell
bundle
bundle exec rake
```

When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:

```ruby
require 'spree_promotion_api/factories'
```

Copyright (c) 2015 [name of extension creator], released under the New BSD License