Module: Mailgunner

Defined in:
lib/mailgunner.rb,
lib/mailgunner/client.rb,
lib/mailgunner/config.rb,
lib/mailgunner/errors.rb,
lib/mailgunner/params.rb,
lib/mailgunner/struct.rb,
lib/mailgunner/railtie.rb,
lib/mailgunner/version.rb,
lib/mailgunner/client/ips.rb,
lib/mailgunner/client/tags.rb,
lib/mailgunner/client/stats.rb,
lib/mailgunner/client/events.rb,
lib/mailgunner/client/routes.rb,
lib/mailgunner/client/domains.rb,
lib/mailgunner/client/messages.rb,
lib/mailgunner/client/webhooks.rb,
lib/mailgunner/delivery_method.rb,
lib/mailgunner/client/suppressions.rb,
lib/mailgunner/client/mailing_lists.rb,
lib/mailgunner/client/email_validation.rb

Defined Under Namespace

Classes: AuthenticationError, Client, ClientError, Config, DeliveryMethod, Error, Railtie, ServerError, Struct

Constant Summary collapse

VERSION =
'3.0.0'

Class Method Summary collapse

Class Method Details

.configObject


22
23
24
# File 'lib/mailgunner.rb', line 22

def self.config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:


26
27
28
# File 'lib/mailgunner.rb', line 26

def self.configure
  yield config
end