Module: Unisms

Defined in:
lib/unisms.rb,
lib/unisms/sms.rb,
lib/unisms/logger.rb,
lib/unisms/version.rb

Defined Under Namespace

Modules: Adapter, Router Classes: Sms

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



9
10
11
# File 'lib/unisms/logger.rb', line 9

def logger
  @logger
end

Class Method Details

.default_adapter=(adapter) ⇒ Object



12
13
14
# File 'lib/unisms.rb', line 12

def self.default_adapter=(adapter)
	Sms.default_adapter = adapter
end

.new(adapter = nil) ⇒ Object



8
9
10
# File 'lib/unisms.rb', line 8

def self.new(adapter = nil)
	Sms.new(adapter)
end