Class: LightService::Testing::ContextFactory::ContextFactoryOrganizer
- Inherits:
-
Object
- Object
- LightService::Testing::ContextFactory::ContextFactoryOrganizer
- Extended by:
- Organizer
- Defined in:
- lib/light-service/testing/context_factory.rb
Class Attribute Summary collapse
-
.actions ⇒ Object
Returns the value of attribute actions.
Class Method Summary collapse
Methods included from Organizer
Class Attribute Details
.actions ⇒ Object
Returns the value of attribute actions.
7 8 9 |
# File 'lib/light-service/testing/context_factory.rb', line 7 def actions @actions end |
Class Method Details
.call(ctx) ⇒ Object
10 11 12 |
# File 'lib/light-service/testing/context_factory.rb', line 10 def self.call(ctx) with(ctx).reduce(actions) end |