Sha256: b6890eb12e262aedb6eddcf173063091e783261f93ef25d31dd9d2a101ad30c3

Contents?: true

Size: 589 Bytes

Versions: 2

Compression:

Stored size: 589 Bytes

Contents

require "colorize"
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

2 entries across 2 versions & 1 rubygems

Version Path
send_grid_mailer-0.1.1 lib/send_grid_mailer.rb
send_grid_mailer-0.1.0 lib/send_grid_mailer.rb