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/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/message_reader.rb,
lib/freeswitch/esl/connection/event_dispatcher.rb

Defined Under Namespace

Modules: Logger, Protocol Classes: AuthenticationError, Client, CommandError, Configuration, Connection, ConnectionError, DisconnectedError, Error, TimeoutError

Constant Summary collapse

Message =
Protocol::Message
Event =
Protocol::Event
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject



24
25
26
# File 'lib/freeswitch/esl.rb', line 24

def configuration
  @configuration ||= Configuration.build
end

.configure {|configuration| ... } ⇒ Object

Yields:



20
21
22
# File 'lib/freeswitch/esl.rb', line 20

def configure
  yield(configuration)
end

.reset!Object



28
29
30
# File 'lib/freeswitch/esl.rb', line 28

def reset!
  @configuration = nil
end