Sha256: 9a9d534470086d6bf9f355bceda37d281f82632d5250778f84025f363737f6d5

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

require 'smscru/version'
require 'smscru/configuration'
require 'smscru/client'
require 'smscru/callback'

module Smscru
  class << self
    attr_reader :config

    def configure(options={}, &block)
      @config = Configuration.new
      @config.update(options)
      yield @config if block_given?
    end
  end

  configure
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smscru-0.0.2 lib/smscru.rb
smscru-0.0.1 lib/smscru.rb