Files
bbs-server/lib/model/wiki_page.rb
Zsolt Tasnadi 6856b073f6 Introduce model/ and repository/ structure under lib/
Models: Message, WikiPage, Game (typed structs instead of raw hashes)
Repositories: MessageBoard, OnlineUsers, WikiClient, CatalogClient
bbs.rb uses attribute access (page.title, game.play_path, …) throughout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 09:37:57 +02:00

4 lines
129 B
Ruby

# frozen_string_literal: true
WikiPage = Struct.new(:id, :path, :title, :description, :created_at, :locale, keyword_init: true)