Module: Exotel

Defined in:
lib/exotel.rb,
lib/exotel/sms.rb,
lib/exotel/call.rb,
lib/exotel/config.rb,
lib/exotel/version.rb,
lib/exotel/response.rb

Defined Under Namespace

Classes: AuthenticationError, Call, ParamsError, Response, Sms, UnexpectedError

Constant Summary collapse

VERSION =
'0.2'

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/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/config.rb', line 3

def exotel_token
  @exotel_token
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Exotel)

    the object that the method was called on



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

def configure
  yield self
end