Class: ElasticEmail::Client
- Inherits:
-
Object
- Object
- ElasticEmail::Client
- Defined in:
- lib/elastic_email/client.rb
Instance Method Summary collapse
Instance Method Details
#elastic_email_send_url ⇒ Object
14 15 16 |
# File 'lib/elastic_email/client.rb', line 14 def elastic_email_send_url 'http://api.elasticemail.com/mailer/send' end |
#elastic_email_uri ⇒ Object
10 11 12 |
# File 'lib/elastic_email/client.rb', line 10 def elastic_email_uri URI.parse(elastic_email_send_url) end |
#send_message(options) ⇒ Object
6 7 8 |
# File 'lib/elastic_email/client.rb', line 6 def () Net::HTTP.post_form(elastic_email_uri, ) end |