module Restcomm

Constants

VERSION

Public Class Methods

configure() { |configuration| ... } click to toggle source

Pre-configure with account SID and auth token so that you don’t need to pass them to various initializers each time.

   # File lib/restcomm-ruby.rb
93 def self.configure(&block)
94   yield configuration
95 end

Private Class Methods

configuration() click to toggle source

Returns an existing or instantiates a new configuration object.

    # File lib/restcomm-ruby.rb
 99 def self.configuration
100   @configuration ||= Util::Configuration.new
101 end