one-click-orgs

https://github.com/oneclickorgs/one-click-orgs

Ruby

Create legal organisations with just one click

OneClickOrgs::ModelWrapper#before_initialize

To massage the attributes before they are applied en-masse,
redefine this method in your subclass.

Source | Google | Stack overflow

Edit

git clone [email protected]:oneclickorgs/one-click-orgs.git

cd one-click-orgs

open lib/one_click_orgs/model_wrapper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-OneClickOrgs--ModelWrapper-before_initialize-for-pr


# Commit to git

git add lib/one_click_orgs/model_wrapper.rbgit commit -m "better docs for OneClickOrgs::ModelWrapper#before_initialize"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-OneClickOrgs--ModelWrapper-before_initialize-for-pr

hub pull-request


# Celebrate!