Module: Africastalking

Defined in:
lib/africastalking.rb,
lib/africastalking/talk.rb,
lib/africastalking/airtime.rb,
lib/africastalking/message.rb,
lib/africastalking/version.rb,
lib/africastalking/response.rb,
lib/africastalking/user_data.rb,
lib/africastalking/connection.rb,
lib/africastalking/subscription.rb,
lib/africastalking/configuration.rb

Defined Under Namespace

Classes: Airtime, Configuration, Connection, Message, Response, Subscription, Talk, UserData

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject Also known as: config



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

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.setup {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/africastalking.rb', line 16

def setup
  yield configuration
end