Module: Itexmo

Defined in:
lib/itexmo.rb,
lib/itexmo/sms.rb,
lib/itexmo/message.rb,
lib/itexmo/service.rb,
lib/itexmo/version.rb,
lib/itexmo/configuration.rb,
lib/itexmo/response_helper.rb,
lib/itexmo/errors/bad_request.rb,
lib/itexmo/errors/configuration.rb,
lib/itexmo/errors/authentication.rb,
lib/generators/itexmo/install_generator.rb

Overview

name

Defined Under Namespace

Modules: Errors, Generators Classes: Configuration, Message, ResponseHelper, Service, Sms

Constant Summary collapse

VERSION =
'0.0.1'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



16
17
18
# File 'lib/itexmo.rb', line 16

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



27
28
29
# File 'lib/itexmo.rb', line 27

def self.configure
  yield(configuration)
end

.resetObject



23
24
25
# File 'lib/itexmo.rb', line 23

def self.reset
  @configuration = Configuration.new
end