new framework

This commit is contained in:
2026-05-12 22:36:19 +02:00
parent d92768dd23
commit 9d52a2e2c6
29 changed files with 1240 additions and 400 deletions

View File

@@ -0,0 +1,8 @@
# frozen_string_literal: true
class ProfileService
def initialize(repo) = @repo = repo
def find(username) = @repo.find(username)
def update(username, **f) = @repo.upsert(username: username, **f)
end