Class: SubAppLog
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SubAppLog
- Defined in:
- lib/subapp_model/sub_app_log.rb
Instance Method Summary collapse
-
#status_disp ⇒ Object
status 1: 正在打包 2:打包成功 3:打包失败 backtrace 打包日志 device_type 1: iphone 2: ipad 3: android.
Instance Method Details
#status_disp ⇒ Object
status 1: 正在打包 2:打包成功 3:打包失败 backtrace 打包日志 device_type 1: iphone 2: ipad 3: android
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/subapp_model/sub_app_log.rb', line 10 def status_disp case self.status when 1 "打包中" when 2 "打包成功" when 3 "打包失败" end end |