solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
SolidusPromotions::Benefits::OrderBenefit#can_discount?
No Docs, write some!
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open promotions/app/models/concerns/solidus_promotions/benefits/order_benefit.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SolidusPromotions--Benefits--OrderBenefit-can_discount--for-pr
# Commit to gitgit add promotions/app/models/concerns/solidus_promotions/benefits/order_benefit.rbgit commit -m "better docs for SolidusPromotions::Benefits::OrderBenefit#can_discount?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SolidusPromotions--Benefits--OrderBenefit-can_discount--for-pr
hub pull-request
# Celebrate!