This is a sample application which houses a working example of code featured in the Wrangling Service Objects with method_struct blog post.
It's a Rails 4.1.6 app with SQLite3. To get it running, do the following:
git clone git@github.com:marcinbunsch/service-objects-example.git
cd service-objects-example/
bundle
bin/rake db:migrate
bundle exec rspec spec
It's a sample. You are free to do whatever you want to this code.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request