Module: SendgridThreads

Defined in:
lib/sendgrid-threads.rb,
lib/sendgrid_threads/api.rb,
lib/sendgrid_threads/client.rb,
lib/sendgrid_threads/config.rb,
lib/sendgrid_threads/engine.rb,
lib/sendgrid_threads/exceptions.rb

Defined Under Namespace

Classes: Api, Client, Config, Engine, Exception

Constant Summary collapse

VERSION =
File.read(File.expand_path('../../VERSION', __FILE__)).strip.freeze

Class Method Summary collapse

Class Method Details

.configObject



17
18
19
# File 'lib/sendgrid_threads/config.rb', line 17

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

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

Yields:



13
14
15
# File 'lib/sendgrid_threads/config.rb', line 13

def self.configure
  yield config
end

.loggerObject



10
11
12
# File 'lib/sendgrid-threads.rb', line 10

def self.logger
  config.logger
end