Module: Patriarch
- Defined in:
- lib/patriarch.rb,
lib/patriarch/service.rb,
lib/patriarch/version.rb,
lib/patriarch/behaviours.rb,
lib/patriarch/transaction.rb,
lib/patriarch/manager_service.rb,
lib/patriarch/transaction_step.rb,
lib/patriarch/redis_instruction.rb,
lib/patriarch/authorization_service.rb,
lib/generators/patriarch/install_generator.rb,
lib/generators/patriarch/behaviour_generator.rb,
lib/generators/patriarch/templates/empty_services_declaration.rb,
lib/generators/patriarch/templates/empty_behaviours_declaration.rb
Overview
Mother class of all the Patriarch::__behaviour__::AuthorizationService We use singleton pattern here
Defined Under Namespace
Modules: Behaviours, DAOServices, Generators, Services, ToolServices, TransactionServices Classes: AuthorizationService, ForbiddenBehaviourException, ManagerService, RedisInstruction, Service, Transaction, TransactionStep
Constant Summary collapse
- VERSION =
"0.2.6"
Class Method Summary collapse
Class Method Details
.undo(str) ⇒ Object
41 42 43 44 45 |
# File 'lib/patriarch.rb', line 41 def self.undo(str) undo = "undo_" undo << str undo end |