Method: SearchOnSlack#verify_type
- Defined in:
- lib/modules/search_slack.rb
permalink #verify_type ⇒ Object
[View source]
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/modules/search_slack.rb', line 27 def verify_type properties = { 'channel' => @properties.is_channel, 'group' => @properties.is_group, 'im' => @properties.is_im } check = '' properties.each { |k, v| check = k if v == true } check end |