Project

paradigm

0.0
No commit activity in last 3 years
No release in over 3 years
Provides template generators for service abstractions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

< 5.1, >= 4.1.0
 Project Readme

Version Rating

Paradigm: abstractions so good you'll cry

Easily add Service abstractions into your Rails app with template generators

Getting Started

Add the gem to your application Gemfile:

gem 'paradigm'

Run bundle install

Next, you need to run the generator:

rails generate paradigm:install

Generators

Services

Top level services

rails generate paradigm:service user_creation

Sets up a app/services directory with a user_creation_service.rb file. Also adds a user_creation_service_test.rb file in the test/services directory.

Nested services

rails generate paradigm:service account::user_creation

Sets up a app/services/account directory with a user_creation_service.rb file. Also adds a user_creation_service_test.rb file in the test/services/account directory.

Copyright and Licenses

Paradigm is copyright © 2016 Glenn Espinosa and released under the MIT license.