Module: WebhookTrigger

Defined in:
lib/webhook_trigger.rb,
lib/webhook_trigger/trigger.rb,
lib/webhook_trigger/version.rb,
lib/webhook_trigger/repository.rb,
lib/webhook_trigger/configuration.rb,
lib/webhook_trigger/repository/trigger_repository.rb

Overview

Module WebhookTrigger is main module for gem webhook_trigger

Defined Under Namespace

Modules: Repository, Trigger Classes: Configuration, Error

Constant Summary collapse

VERSION =
'0.2.1'

Class Method Summary collapse

Class Method Details

.configurationObject

Your code goes here…



11
12
13
# File 'lib/webhook_trigger.rb', line 11

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



19
20
21
# File 'lib/webhook_trigger.rb', line 19

def self.configure
  yield(configuration)
end

.resetObject



15
16
17
# File 'lib/webhook_trigger.rb', line 15

def self.reset
  @configuration = Configuration.new
end