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: user.rb
    path of file: ./repos/tomatoes/app/models/api/presenter
    
    the code of the file until where you have to start completion: module Api
  module Presenter
    class User
      def initialize(user)
        @user = user
      end

      def as_json(_options = {})
        {
          id: @user.id.to_s,
          name: @user.name,
          email: @user.email,
          image: @user.image_file,
          time_zone: @user.time_zone,
          color: @user.color,
          volume: @user.volume,
          ticking: @user.ticking,
          work_hours_per_day: @user.work_hours
    
      def as_json(_options = {})
        {
          id: @user.id.to_s,
          name: @user.name,
          email: @user.email,
          image: @user.image_file,
          time_zone: @user.time_zone,
          color: @user.color,
          volume: @user.volume,
          ticking: @user.ticking,
          work_hours_per_day: @user.work_hours_per_day,
          average_hourly_rate: @user.average_hourly_rate,
          currency: @user.currency,
          currency_unit: @user.currency_unit,
          tomatoes_counters: @user.tomatoes_counters,
          authorizations: authorizations,
          created_at: @user.created_at,
          updated_at: @user.updated_at
        }
      end