Module: Freeswitch::ESL
- Defined in:
- lib/freeswitch/esl.rb,
lib/freeswitch/esl/client.rb,
lib/freeswitch/esl/errors.rb,
lib/freeswitch/esl/logger.rb,
lib/freeswitch/esl/command.rb,
lib/freeswitch/esl/version.rb,
lib/freeswitch/esl/connection.rb,
lib/freeswitch/esl/configuration.rb,
lib/freeswitch/esl/protocol/event.rb,
lib/freeswitch/esl/protocol/message.rb,
lib/freeswitch/esl/connection/command_request.rb,
lib/freeswitch/esl/connection/event_dispatcher.rb,
lib/freeswitch/esl/connection/command_dispatcher.rb
Defined Under Namespace
Modules: Logger, Protocol
Classes: AuthenticationError, Client, Command, CommandError, Configuration, Connection, ConnectionError, DisconnectedError, Error, TimeoutError
Constant Summary
collapse
- Message =
Protocol::Message
- Event =
Protocol::Event
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
26
27
28
|
# File 'lib/freeswitch/esl.rb', line 26
def configuration
@configuration ||= Configuration.new
end
|
22
23
24
|
# File 'lib/freeswitch/esl.rb', line 22
def configure
yield(configuration)
end
|
.reset! ⇒ Object
30
31
32
|
# File 'lib/freeswitch/esl.rb', line 30
def reset!
@configuration = nil
end
|