Method: Writefully::Tools::Hammer#hook_config
- Defined in:
- lib/writefully/tools/hammer.rb
#hook_config ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/writefully/tools/hammer.rb', line 13 def hook_config { name: 'web', events: ["push", "member"], active: true, config: { url: "#{message[:domain]}/writefully/hook", content_type: 'json', secret: Writefully.[:hook_secret] } } end |