Method: Auth#initialize
- Defined in:
- lib/coolsms/auth.rb
#initialize ⇒ Auth
Returns a new instance of Auth.
15 16 17 18 |
# File 'lib/coolsms/auth.rb', line 15 def initialize self.api_key ||= ENV['COOLSMS_KEY'] self.api_secret ||= ENV['COOLSMS_SECRET_KEY'] end |