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
Size: 277
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A virtual gift card implementation for Solidus.
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
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
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"