Class: WesenderSMS

Inherits:
Object
  • Object
show all
Includes:
Wesender
Defined in:
lib/wesender.rb

Constant Summary

Constants included from Wesender

Wesender::VERSION

Instance Method Summary collapse

Methods included from Wesender

#send

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