Exception: TwilioContactable::Gateway::ControllerNotConfiguredError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- TwilioContactable::Gateway::ControllerNotConfiguredError
- Defined in:
- lib/gateway.rb
Instance Method Summary collapse
-
#initialize(record) ⇒ ControllerNotConfiguredError
constructor
A new instance of ControllerNotConfiguredError.
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 |