You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: radio.rb
    path of file: ./repos/alonetone/app/models/asset
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Asset < ApplicationRecord
  module Radio
    extend ActiveSupport::Concern

    DEFAULT_LIMIT = 20

    module ClassMethods
      def radio(channel, user)
        case channel
        when 'favorites'
            published.favorited


    
      def radio(channel, user)
        case channel
        when 'favorites'
            published.favorited

        when 'your_favorite_alonetoners'
            published.from_favorite_artists_of(user)

        when 'mangoz_shuffle'
            published.mangoz(user)

        when 'most_favorited'
            published.order('favorites_count DESC')

        when 'songs_you_have_not_heard'
            published.not_heard_by(user)

        when 'popular'
            published.order('hotness DESC')

        when 'those_you_follow'
            published.recent.new_tracks_from_followees(user)

        when 'spam'
            recent.where(is_spam: true)
        else # latest
            published.recent
        end