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
- DEFAULT_TIMEOUT =
30- VERSION =
"0.3.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
-
.timeout ⇒ Object
Returns the value of attribute timeout.
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
32 33 34 |
# File 'lib/email_fuse.rb', line 32 def api_key @api_key end |
.base_url ⇒ Object
41 42 43 |
# File 'lib/email_fuse.rb', line 41 def base_url @base_url ||= "https://api.emailfuse.net" end |
.timeout ⇒ Object
Returns the value of attribute timeout.
32 33 34 |
# File 'lib/email_fuse.rb', line 32 def timeout @timeout end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
35 36 37 38 |
# File 'lib/email_fuse.rb', line 35 def configure yield self if block_given? true end |