Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
1234567891011121314151617181920class Api::V4::RunSerializer < Api::V4::ApplicationSerializer attributes :id, :srdc_id, :time, :program, :attempts, :image_url, :created_at, :updated_at, :video_url
has_one :game, serializer: Api::V4::GameSerializer has_one :category, serializer: Api::V4::CategorySerializer has_many :runners, serializer: Api::V4::RunnerSerializer
def id object.id36 end
def runners if object.user.nil? [] else [object.user] end endend