Sha256: bd949584e70849ad0ba2abfd229fa9217b4b67419cdc08fce2fa9b8618f9d619

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

require 'itexmo/version'
require 'itexmo/response_helper'
require 'itexmo/configuration'
require 'itexmo/message'
require 'itexmo/service'
require 'itexmo/sms'
require 'itexmo/errors/authentication'
require 'itexmo/errors/configuration'
require 'itexmo/errors/bad_request'
require 'generators/itexmo/install_generator'

# itexmo configuration block
module Itexmo
  # class
  class << self
    attr_accessor :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.reset
    @configuration = Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itexmo-0.0.1 lib/itexmo.rb