module Semaphore::Sms
Constants
- VERSION
Attributes
api_key[W]
sender_name[W]
Public Class Methods
api_key()
click to toggle source
# File lib/semaphore/sms.rb, line 20 def api_key raise ConfigurationError, 'API Key is required for GET/POST' unless @api_key @api_key end
client()
click to toggle source
# File lib/semaphore/sms.rb, line 16 def client @client ||= Semaphore::Sms::Client.new(self) end
sender_name()
click to toggle source
# File lib/semaphore/sms.rb, line 25 def sender_name @sender_name end
setup() { |self| ... }
click to toggle source
# File lib/semaphore/sms.rb, line 11 def setup yield self true end