Class: ReportInformation

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/ting_model/report_information.rb

Constant Summary collapse

TYPE =

content_type设置

{"track"=>1,"album"=>1,"comment"=>2}

Instance Method Summary collapse

Instance Method Details

#is_processed_dispObject



18
19
20
21
22
23
24
25
26
27
# File 'lib/ting_model/report_information.rb', line 18

def is_processed_disp
  case self.is_processed
    when true
      "已处理"
    when false
      "未处理"
    else
      ""
  end
end