Module: Pigeon::TextHelper

Defined in:
app/helpers/pigeon/text_helper.rb

Instance Method Summary collapse

Instance Method Details

#channel_type_humanize(channel_type) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'app/helpers/pigeon/text_helper.rb', line 4

def channel_type_humanize(channel_type)
  case channel_type
  when :verboice
    "Voice channel"
  when :nuntium
    "Message channel"
  else
    "Unknown channel"
  end
end