Method: Webhookr.config
- Defined in:
- lib/webhookr.rb
.config ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/webhookr.rb', line 22 def config @config ||= if defined?(Rails) Rails.application.config.webhookr else ActiveSupport::OrderedOptions.new end end |