Module: Brightbytes::Sendgrid

Extended by:
ActiveSupport::Concern
Defined in:
lib/brightbytes/sendgrid.rb,
lib/brightbytes/sendgrid/config.rb,
lib/brightbytes/sendgrid/version.rb,
lib/brightbytes/sendgrid/unsubscribe.rb,
lib/brightbytes/sendgrid/subst_pattern.rb,
lib/brightbytes/sendgrid/smtp_api_header.rb

Defined Under Namespace

Modules: ClassMethods, SubstPattern Classes: Config, SmtpApiHeader, Unsubscribe

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.configObject



52
53
54
# File 'lib/brightbytes/sendgrid.rb', line 52

def config
  Brightbytes::Sendgrid::Config.instance
end

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

Yields:



56
57
58
# File 'lib/brightbytes/sendgrid.rb', line 56

def configure
  yield(self.config) if block_given?
end