lib/activehook/config.rb in activehook-0.1.4 vs lib/activehook/config.rb in activehook-0.1.5
- old
+ new
@@ -26,13 +26,14 @@
end
class BaseConfig
BASE_DEFAULTS = {
redis_url: ENV['REDIS_URL'],
- redis_pool: 5
+ redis_pool: 5,
+ signature_header: 'X-Webhook-Signature'
}.freeze
- attr_accessor :redis_url, :redis_pool
+ attr_accessor :redis_url, :redis_pool, :signature_header
def initialize
BASE_DEFAULTS.each { |key, value| send("#{key}=", value) }
end