Class: DiscoveryPage

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

Instance Method Summary collapse

Instance Method Details

#mobile_type_dispObject



7
8
9
10
11
12
13
14
15
16
# File 'lib/ting_model/discovery_page.rb', line 7

def mobile_type_disp
  case self.mobile_type
  when 1
    "iphone"
  when 2
    "android"
  else
    ""
  end
end