Exception: TwilioContactable::Gateway::ControllerNotConfiguredError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/gateway.rb

Instance Method Summary collapse

Constructor Details

#initialize(record) ⇒ ControllerNotConfiguredError

Returns a new instance of ControllerNotConfiguredError.



12
13
14
15
16
17
# File 'lib/gateway.rb', line 12

def initialize(record)
  super "You're initiating a voice call for a "+
        record.class.name.inspect +
        " but you have not specified this class "+
        "as a possible recipient in a controller."
end