Class: Verb::SMS

Inherits:
Message show all
Defined in:
lib/verb.rb

Constant Summary

Constants inherited from Message

Message::API_URL

Instance Attribute Summary

Attributes inherited from Message

#context, #files

Instance Method Summary collapse

Methods inherited from Message

#attach, #send, #tag

Constructor Details

#initialize(api_key, params = {}, debug = false) ⇒ SMS

Returns a new instance of SMS.



153
154
155
156
157
# File 'lib/verb.rb', line 153

def initialize(api_key, params = {}, debug = false)
  params[:api_key] = api_key
  params[:type] = :sms
  super(params, debug)
end