Module: PennyWise
- Defined in:
- lib/penny_wise.rb,
lib/penny_wise/version.rb,
lib/penny_wise/exceptions.rb,
lib/penny_wise/integration.rb,
lib/penny_wise/configuration.rb,
lib/penny_wise/error_handler.rb,
lib/penny_wise/integrations/rails.rb,
lib/penny_wise/integrations/rails/railtie.rb
Defined Under Namespace
Modules: ErrorHandler, Exceptions, Integration Classes: Configuration, IntegrationNotFoundException
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
-
.integrations ⇒ Object
Returns the value of attribute integrations.
Class Method Summary collapse
- .logger ⇒ Object
-
.render_errors? ⇒ Boolean
To be overriden by integrations.
- .root ⇒ Object
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
13 14 15 |
# File 'lib/penny_wise.rb', line 13 def configuration @configuration end |
.integrations ⇒ Object
Returns the value of attribute integrations.
5 6 7 |
# File 'lib/penny_wise/integration.rb', line 5 def integrations @integrations end |
Class Method Details
.logger ⇒ Object
33 34 35 |
# File 'lib/penny_wise.rb', line 33 def self.logger @logger ||= configuration.logger end |
.render_errors? ⇒ Boolean
To be overriden by integrations
29 30 31 |
# File 'lib/penny_wise.rb', line 29 def self.render_errors? true end |
.root ⇒ Object
24 25 26 |
# File 'lib/penny_wise.rb', line 24 def self.root Pathname.new(File.("../..", __FILE__)) end |