simpleweb/solidus_virtual_gift_card

Name: solidus_virtual_gift_card

Owner: Simpleweb

Description: A virtual gift card implementation for Solidus

Forked from: solidusio/solidus_virtual_gift_card

Created: 2018-02-20 16:54:28.0

Updated: 2018-02-20 16:54:30.0

Pushed: 2018-02-20 17:30:46.0

Homepage:

Size: 277

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Solidus - Virtual Gift Card

A virtual gift card implementation for Solidus.

Build Status

Installation

In your Gemfile:

"solidus_virtual_gift_card"

Bundle your dependencies and run the installation generator:

le install
le exec rails g solidus_virtual_gift_card:install
Authorization

For discrete authorization, two permission sets have been added to allow for granular display in the admin.

Spree::PermissionSets::VirtualGiftCardDisplay and Spree::PermissionSets::VirtualGiftCardManagement have been added and can be registered via RoleConfiguration

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.

le
le exec rake

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

ire "spree_virtual_gift_card/factories"

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.