Sha256: a530547285c851e5b044c8ab8c8e2b4d1b675a6ed4aa969bed4389dc4815fdd8

Contents?: true

Size: 570 Bytes

Versions: 13

Compression:

Stored size: 570 Bytes

Contents

require "sendgrid-ruby"
require "send_grid_mailer/engine"

module SendGridMailer
  extend self

  # You can add, in this module, your own configuration options as in the example below...
  #
  # attr_writer :my_option
  #
  # def my_option
  #   return "Default Value" unless @my_option
  #   @my_option
  # end
  #
  # Then, you can customize the default behaviour (typically in a Rails initializer) like this:
  #
  # SendGridMailer.setup do |config|
  #   config.root_url = "Another value"
  # end

  def setup
    yield self
    require "send_grid_mailer"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
send_grid_mailer-2.4.0 lib/send_grid_mailer.rb
send_grid_mailer-2.3.0 lib/send_grid_mailer.rb
send_grid_mailer-2.2.0 lib/send_grid_mailer.rb
send_grid_mailer-2.0.1 lib/send_grid_mailer.rb
send_grid_mailer-2.0.0 lib/send_grid_mailer.rb
send_grid_mailer-1.2.1 lib/send_grid_mailer.rb
send_grid_mailer-1.2.0 lib/send_grid_mailer.rb
send_grid_mailer-1.1.0 lib/send_grid_mailer.rb
send_grid_mailer-1.0.0 lib/send_grid_mailer.rb
send_grid_mailer-0.5.0 lib/send_grid_mailer.rb
send_grid_mailer-0.4.0 lib/send_grid_mailer.rb
send_grid_mailer-0.3.0 lib/send_grid_mailer.rb
send_grid_mailer-0.2.0 lib/send_grid_mailer.rb