Class: LightService::Testing::ContextFactory::ContextFactoryOrganizer

Inherits:
Object
  • Object
show all
Extended by:
Organizer
Defined in:
lib/light-service/testing/context_factory.rb

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Organizer

extended, included

Class Attribute Details

.actionsObject

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