Method: Codepipe::Webhook#initialize

Defined in:
lib/codepipe/webhook.rb

#initialize(options = {}) ⇒ Webhook

Returns a new instance of Webhook.



6
7
8
9
10
# File 'lib/codepipe/webhook.rb', line 6

def initialize(options={})
  @options = options
  @webhook_path = options[:webhook_path] || get_webhook_path
  @properties = default_properties
end