Sha256: 6f65097196adb119212efbdfd85d1747a7f38f16b9ceb9e0dbde858f94e53afa

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require 'logger'

module SendgridThreads

  class Config
    attr_accessor :key, :secret, :url, :logger, :raise_exceptions

    def logger
      @logger ||= Logger.new(STDERR)
    end
  end

  def self.configure
    yield config
  end

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sendgrid-threads-0.1.0 lib/sendgrid_threads/config.rb