Module: ExotelApi

Defined in:
lib/exotel_api.rb,
lib/exotel_api/call.rb,
lib/exotel_api/config.rb,
lib/exotel_api/engine.rb,
lib/exotel_api/version.rb,
lib/exotel_api/metadata.rb,
lib/exotel_api/response.rb,
app/controllers/exotel_api/call_controller.rb,
app/controllers/exotel_api/start_controller.rb

Defined Under Namespace

Classes: AuthenticationError, Call, CallController, Engine, Metadata, ParamsError, Response, StartController, UnexpectedError

Constant Summary collapse

VERSION =
"0.6.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.exotel_sidObject

Returns the value of attribute exotel_sid.



3
4
5
# File 'lib/exotel_api/config.rb', line 3

def exotel_sid
  @exotel_sid
end

.exotel_tokenObject

Returns the value of attribute exotel_token.



3
4
5
# File 'lib/exotel_api/config.rb', line 3

def exotel_token
  @exotel_token
end

.inbound_queryObject

Returns the value of attribute inbound_query.



3
4
5
# File 'lib/exotel_api/config.rb', line 3

def inbound_query
  @inbound_query
end

.status_callback_queryObject

Returns the value of attribute status_callback_query.



3
4
5
# File 'lib/exotel_api/config.rb', line 3

def status_callback_query
  @status_callback_query
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (ExotelApi)

    the object that the method was called on



5
6
7
# File 'lib/exotel_api/config.rb', line 5

def configure
  yield self
end