class Ruboty::Handlers::Callng

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/ruboty/handlers/callng.rb, line 13
def initialize(*args)
  super
  unless defined?(Ruboty::SlackRTM)
    raise Error, "ruboty-slack_rtm is not installed. ruboty-callng supports only ruboty-slack_rtm for now"
  end
end

Public Instance Methods

phone_call(message) click to toggle source

call is already used in ruboty

# File lib/ruboty/handlers/callng.rb, line 21
def phone_call(message)
  Ruboty::Callng::Actions::Call.new(message).call
end
phone_call_with_message(message) click to toggle source

call is already used in ruboty

# File lib/ruboty/handlers/callng.rb, line 26
def phone_call_with_message(message)
  Ruboty::Callng::Actions::Call.new(message).call_with_message
end