Class: Localer::Data::Service
- Inherits:
-
Object
- Object
- Localer::Data::Service
- Extended by:
- Dry::Initializer
- Defined in:
- lib/localer/data/service.rb
Overview
Core service object
Direct Known Subclasses
Class Method Summary collapse
-
.call(*args, &block) ⇒ Object
Instantiates and calls the service at once.
Class Method Details
.call(*args, &block) ⇒ Object
Instantiates and calls the service at once
12 13 14 |
# File 'lib/localer/data/service.rb', line 12 def call(*args, &block) new(*args).call(&block) end |