one-click-orgs

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

Ruby

Create legal organisations with just one click

OneClickOrgs::ParametersSerialisation#parameters

Returns the (deserialized) hash of parameters for this object.
You can call #[]= on the returned hash and it will magically update the
actual parameters attribute of the object. In other words, this will
just work:

proposal.parameters[:first_name] = "Bob"
proposal.parameters[:first_name] # => "Bob"

Source | Google | Stack overflow

Edit

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

cd one-click-orgs

open lib/one_click_orgs/parameters_serialisation.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-OneClickOrgs--ParametersSerialisation-parameters-for-pr


# Commit to git

git add lib/one_click_orgs/parameters_serialisation.rbgit commit -m "better docs for OneClickOrgs::ParametersSerialisation#parameters"


# 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--ParametersSerialisation-parameters-for-pr

hub pull-request


# Celebrate!