https://github.com/misinformeddna/spree_promotion_api
https://github.com/misinformeddna/spree_promotion_api
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/misinformeddna/spree_promotion_api
- Owner: MisinformedDNA
- License: bsd-3-clause
- Created: 2015-02-22T23:35:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T23:04:07.000Z (over 11 years ago)
- Last Synced: 2025-01-30T20:38:39.017Z (over 1 year ago)
- Language: Ruby
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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