mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
Move class to lib, add sugar, add tests
This commit is contained in:
parent
74e3d5461b
commit
45dfa57529
10 changed files with 71 additions and 36 deletions
5
lib/application_service.rb
Normal file
5
lib/application_service.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class ApplicationService
|
||||
def self.call(*args, &block)
|
||||
new(*args, &block).call
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue