Class: IngvQuake::ApplicationService
- Inherits:
-
Object
- Object
- IngvQuake::ApplicationService
- Defined in:
- lib/ingv_quake/services/application_service.rb
Overview
The ApplicationService class serves as a base class for other service classes within the IngvQuake module. This class provides a convenient way to call services by automatically instantiating and calling the service.
Direct Known Subclasses
Class Method Summary collapse
-
.call(*args, &block) ⇒ Object
Calls the service with the given arguments and block.
Class Method Details
.call(*args, &block) ⇒ Object
Calls the service with the given arguments and block.
13 14 15 |
# File 'lib/ingv_quake/services/application_service.rb', line 13 def self.call(*args, &block) new(*args, &block).call end |