Class: WesenderSMS
Constant Summary
Constants included from Wesender
Instance Method Summary collapse
-
#initialize(api_key = nil) ⇒ WesenderSMS
constructor
A new instance of WesenderSMS.
Methods included from Wesender
Constructor Details
#initialize(api_key = nil) ⇒ WesenderSMS
Returns a new instance of WesenderSMS.
25 26 27 28 |
# File 'lib/wesender.rb', line 25 def initialize( api_key = nil ) @api_key = api_key.nil? ? ENV["WESENDER_API_KEY"] : api_key super() end |