Class: Sendhub::Rails
- Inherits:
-
Object
- Object
- Sendhub::Rails
- Defined in:
- lib/sendhub/rails3.rb
Instance Method Summary collapse
- #deliver!(message) ⇒ Object
-
#initialize(options) ⇒ Rails
constructor
A new instance of Rails.
Constructor Details
Instance Method Details
#deliver!(message) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/sendhub/rails3.rb', line 10 def deliver!() res = @client.send_email( :from => .from, :to => .to, :subject => .subject, :body => .body, :content_type => .content_type ) end |