Sha256: cba138f330f1c45e0380b16ca0201cc11609968843e7b03fcc747e1ce3e52d2b

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

require "zenvia/version"
require 'zenvia/config'
require 'zenvia/sms'

module Zenvia
  # block of configuration
  def self.configure
    yield self.config
  end

  def self.config
    Config
  end

  def self.send_message(from = nil, number, message)
    SMS.send_message(from, number, message)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zenvia-rb-0.0.6 lib/zenvia.rb
zenvia-rb-0.0.5 lib/zenvia.rb