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/suppressions.rb,
lib/mailgun/events/events.rb,
lib/mailgun/domains/domains.rb,
lib/mailgun/webhooks/webhooks.rb,
lib/mailgun/lists/opt_in_handler.rb,
lib/mailgun/exceptions/exceptions.rb,
lib/mailgun/messages/batch_message.rb,
lib/mailgun/messages/message_builder.rb
Overview
It's the version. Yeay!
Defined Under Namespace
Classes: Address, BatchMessage, Chains, Client, CommunicationError, Domains, Error, Events, MessageBuilder, OptInHandler, ParameterError, ParseError, Response, Suppressions, Webhooks
Constant Summary collapse
- VERSION =
'1.2.5'
Class Attribute Summary collapse
-
.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.
-
.test_mode ⇒ Object
Returns the value of attribute test_mode.
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
25 26 27 |
# File 'lib/mailgun.rb', line 25 def api_key @api_key end |
.api_version ⇒ Object
Returns the value of attribute api_version.
25 26 27 |
# File 'lib/mailgun.rb', line 25 def api_version @api_version end |
.domain ⇒ Object
Returns the value of attribute domain.
25 26 27 |
# File 'lib/mailgun.rb', line 25 def domain @domain end |
.mailgun_host ⇒ Object
Returns the value of attribute mailgun_host.
25 26 27 |
# File 'lib/mailgun.rb', line 25 def mailgun_host @mailgun_host end |
.protocol ⇒ Object
Returns the value of attribute protocol.
25 26 27 |
# File 'lib/mailgun.rb', line 25 def protocol @protocol end |
.test_mode ⇒ Object
Returns the value of attribute test_mode.
25 26 27 |
# File 'lib/mailgun.rb', line 25 def test_mode @test_mode end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
32 33 34 35 |
# File 'lib/mailgun.rb', line 32 def configure yield self true end |