Module: SemaphoreSMS

Defined in:
lib/semaphore_sms.rb,
lib/semaphore_sms/http.rb,
lib/semaphore_sms/client.rb,
lib/semaphore_sms/version.rb,
lib/semaphore_sms/resources/otp.rb,
lib/semaphore_sms/resources/account.rb,
lib/semaphore_sms/resources/messages.rb,
lib/semaphore_sms/resources/priority.rb

Defined Under Namespace

Modules: HTTP, Resources Classes: Client, Configuration, ConfigurationError, Error

Constant Summary collapse

VERSION =
'2.1.6'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



50
51
52
# File 'lib/semaphore_sms.rb', line 50

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

Class Method Details

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

Yields:



54
55
56
# File 'lib/semaphore_sms.rb', line 54

def self.configure
  yield(configuration)
end