Module: MaimaiNet::Model::Chart
- Defined in:
- lib/maimai_net/model.rb
Constant Summary collapse
- InfoLite =
Base::Struct.new(**info_base) do def to_info(level_text: '?') Info.new( web_id: WebID::DUMMY, title: title, type: type, difficulty: difficulty, level_text: level_text, ) end end
- Info =
Base::Struct.new( web_id: WebID, **info_base, level_text: String, ) do def to_lite InfoLite.new(title: title, type: type, difficulty: difficulty) end end
- Song =
Base::Struct.new( title: String, artist: String, genre: String, jacket: URI::Generic, )