igor-alexandrov/wiselinks

View on GitHub
lib/wiselinks.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'wiselinks/request'

require 'wiselinks/controller_methods'
require 'wiselinks/rendering'

require 'wiselinks/helpers'

require 'wiselinks/logger'

require 'wiselinks/rails' if defined?(::Rails)

module Wiselinks
  extend Logger

  DEFAULTS = {
    :assets_digest => nil,
    :logger => nil
  }

  def self.options
    @options ||= DEFAULTS.dup
  end

  def self.options=(value)
    @options = value
  end
end