spree

https://github.com/spree/spree

Ruby

Spree is a complete, modular & API-driven open source ecommerce solution for Ruby on Rails

Spree::PromotionBatches::CreateWithCodes#call

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:spree/spree.git

cd spree

open core/app/services/spree/promotion_batches/create_with_codes.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--PromotionBatches--CreateWithCodes-call-for-pr


# Commit to git

git add core/app/services/spree/promotion_batches/create_with_codes.rbgit commit -m "better docs for Spree::PromotionBatches::CreateWithCodes#call"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Spree--PromotionBatches--CreateWithCodes-call-for-pr

hub pull-request


# Celebrate!