module Textlocal

Constants

VERSION

Public Class Methods

config() { |config| ... } click to toggle source
# File lib/textlocal.rb, line 9
def config
  @config ||= Config.new
  if block_given?
    yield @config
  end
  @config
end
reset_config() click to toggle source
# File lib/textlocal.rb, line 17
def reset_config
  @config = nil
end
send_message(message, numbers, options={}) click to toggle source
# File lib/textlocal.rb, line 21
def send_message(message, numbers, options={})
  msg = Textlocal::Message.new(message, numbers, options)
  msg.send!
  msg
end