class Sms

Public Instance Methods

msg_type_display() click to toggle source
# File lib/ting_model/sms.rb, line 6
def msg_type_display
      case self.msg_type
      when 2
              "修改密码"
      when 3
              "绑定"
  when 4
    "注册"
      else
              ""
      end          
end