Module: EmailFuse
- Defined in:
- lib/email_fuse.rb,
lib/email_fuse/batch.rb,
lib/email_fuse/client.rb,
lib/email_fuse/emails.rb,
lib/email_fuse/errors.rb,
lib/email_fuse/mailer.rb,
lib/email_fuse/railtie.rb,
lib/email_fuse/request.rb,
lib/email_fuse/version.rb,
lib/email_fuse/response.rb,
lib/email_fuse/webhooks.rb,
lib/email_fuse/emails/receiving.rb,
lib/email_fuse/pagination_helper.rb,
lib/email_fuse/emails/attachments.rb,
lib/email_fuse/emails/receiving/attachments.rb
Overview
Main EmailFuse module
Defined Under Namespace
Modules: Batch, Emails, Webhooks Classes: Client, Error, Mailer, PaginationHelper, Railtie, Request, Response
Constant Summary collapse
- VERSION =
"0.2.0"- WEBHOOK_TOLERANCE_SECONDS =
The Webhooks module provides methods for managing webhooks via the EmailFuse API. Webhooks allow you to receive real-time notifications about email events.
Default tolerance for timestamp validation (5 minutes)
300
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
- .base_url ⇒ Object
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
30 31 32 |
# File 'lib/email_fuse.rb', line 30 def api_key @api_key end |
.base_url ⇒ Object
39 40 41 |
# File 'lib/email_fuse.rb', line 39 def base_url @base_url ||= "https://api.emailfuse.net" end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
33 34 35 36 |
# File 'lib/email_fuse.rb', line 33 def configure yield self if block_given? true end |