Module: Mailgun
- Defined in:
- lib/mailgun.rb,
lib/mailgun/chains.rb,
lib/mailgun/client.rb,
lib/mailgun/address.rb,
lib/mailgun/version.rb,
lib/mailgun/response.rb,
lib/mailgun/logs/logs.rb,
lib/mailgun/tags/tags.rb,
lib/mailgun/suppressions.rb,
lib/mailgun/events/events.rb,
lib/mailgun/domains/domains.rb,
lib/mailgun/metrics/metrics.rb,
lib/mailgun/webhooks/webhooks.rb,
lib/mailgun/templates/templates.rb,
lib/mailgun/lists/opt_in_handler.rb,
lib/mailgun/exceptions/exceptions.rb,
lib/mailgun/messages/batch_message.rb,
lib/mailgun/subaccounts/subaccounts.rb,
lib/mailgun/messages/message_builder.rb,
lib/mailgun/helpers/api_version_checker.rb
Overview
It’s the version. Yeay!
Defined Under Namespace
Modules: ApiVersionChecker Classes: Address, BadRequest, BatchMessage, Chains, Client, CommunicationError, Domains, Error, Events, Logs, MessageBuilder, Metrics, OptInHandler, ParameterError, ParseError, Response, Subaccounts, Suppressions, Tags, Templates, Unauthorized, Webhooks
Constant Summary collapse
- VERSION =
'1.4.0'
Class Attribute Summary collapse
-
.api_host ⇒ Object
Returns the value of attribute api_host.
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.api_version ⇒ Object
Returns the value of attribute api_version.
-
.domain ⇒ Object
Returns the value of attribute domain.
-
.mailgun_host ⇒ Object
Returns the value of attribute mailgun_host.
-
.protocol ⇒ Object
Returns the value of attribute protocol.
-
.proxy_url ⇒ Object
Returns the value of attribute proxy_url.
-
.test_mode ⇒ Object
Returns the value of attribute test_mode.
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.api_host ⇒ Object
Returns the value of attribute api_host.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def api_host @api_host end |
.api_key ⇒ Object
Returns the value of attribute api_key.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def api_key @api_key end |
.api_version ⇒ Object
Returns the value of attribute api_version.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def api_version @api_version end |
.domain ⇒ Object
Returns the value of attribute domain.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def domain @domain end |
.mailgun_host ⇒ Object
Returns the value of attribute mailgun_host.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def mailgun_host @mailgun_host end |
.protocol ⇒ Object
Returns the value of attribute protocol.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def protocol @protocol end |
.proxy_url ⇒ Object
Returns the value of attribute proxy_url.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def proxy_url @proxy_url end |
.test_mode ⇒ Object
Returns the value of attribute test_mode.
30 31 32 |
# File 'lib/mailgun.rb', line 30 def test_mode @test_mode end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
39 40 41 42 |
# File 'lib/mailgun.rb', line 39 def configure yield self true end |