one-click-orgs
https://github.com/oneclickorgs/one-click-orgs
Ruby
Create legal organisations with just one click
ShareAccount#empty!
If the owner is a Member, immediately withdraw all shares in this account back into the organisation's account.
Edit
git clone [email protected]:oneclickorgs/one-click-orgs.git
cd one-click-orgs
open app/models/share_account.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ShareAccount-empty--for-pr
# Commit to gitgit add app/models/share_account.rbgit commit -m "better docs for ShareAccount#empty!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ShareAccount-empty--for-pr
hub pull-request
# Celebrate!