Module: Mailgems

Defined in:
lib/mailgems.rb,
lib/mailgems/mail.rb,
lib/mailgems/message.rb,
lib/mailgems/railtie.rb,
lib/mailgems/version.rb,
lib/mailgems/api_error.rb,
lib/mailgems/configuration.rb,
lib/mailgems/delivery_method.rb

Defined Under Namespace

Classes: ApiError, Configuration, DeliveryMethod, Error, Mail, Message, Railtie

Constant Summary collapse

VERSION =
'0.1.7'

Class Method Summary collapse

Class Method Details

.configurationObject



14
15
16
# File 'lib/mailgems.rb', line 14

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/mailgems.rb', line 18

def self.configure
  yield(configuration)
end