module SmsGatewayTo

Constants

VERSION

Attributes

config[RW]

Public Class Methods

build_client() click to toggle source
# File lib/sms_gateway_to.rb, line 25
def build_client
  SmsGatewayTo::Client.new(@@config.token)
end
client() click to toggle source
# File lib/sms_gateway_to.rb, line 21
def client
  @@client
end
configure(credentials) click to toggle source
# File lib/sms_gateway_to.rb, line 13
def configure(credentials)
  @@config = SmsGatewayTo::Config.new(credentials)
  @@client = build_client
end