Class: ActiveHook::App::Config
- Inherits:
-
BaseConfig
- Object
- BaseConfig
- ActiveHook::App::Config
- Defined in:
- lib/activehook/app/config.rb
Constant Summary collapse
- OTHER_DEFAULTS =
{ validation_path: '/hooks/validate', creation_path: '/hooks' }.freeze
Constants inherited from BaseConfig
Instance Attribute Summary collapse
-
#creation_path ⇒ Object
Returns the value of attribute creation_path.
-
#validation_path ⇒ Object
Returns the value of attribute validation_path.
Attributes inherited from BaseConfig
#redis_pool, #redis_url, #signature_header
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Methods inherited from BaseConfig
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
11 12 13 14 |
# File 'lib/activehook/app/config.rb', line 11 def initialize super OTHER_DEFAULTS.each { |key, value| send("#{key}=", value) } end |
Instance Attribute Details
#creation_path ⇒ Object
Returns the value of attribute creation_path.
9 10 11 |
# File 'lib/activehook/app/config.rb', line 9 def creation_path @creation_path end |
#validation_path ⇒ Object
Returns the value of attribute validation_path.
9 10 11 |
# File 'lib/activehook/app/config.rb', line 9 def validation_path @validation_path end |