module PennyWise
Constants
- VERSION
Attributes
configuration[RW]
integrations[RW]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/penny_wise.rb, line 16 def self.configure self.configuration ||= Configuration.new yield(configuration) if block_given? require "penny_wise/integration" require "penny_wise/error_handler" configuration end
logger()
click to toggle source
# File lib/penny_wise.rb, line 33 def self.logger @logger ||= configuration.logger end
render_errors?()
click to toggle source
To be overriden by integrations
# File lib/penny_wise.rb, line 29 def self.render_errors? true end
root()
click to toggle source
# File lib/penny_wise.rb, line 24 def self.root Pathname.new(File.expand_path("../..", __FILE__)) end