Class: Verb::Email

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) ⇒ Email

Returns a new instance of Email.



145
146
147
148
149
# File 'lib/verb.rb', line 145

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