refact
This commit is contained in:
7
lib/service/games_service.rb
Normal file
7
lib/service/games_service.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class GamesService
|
||||
def initialize(repo) = @repo = repo
|
||||
|
||||
def all = @repo.fetch
|
||||
end
|
||||
Reference in New Issue
Block a user