lib/activehook/client/config.rb in activehook-0.1.4 vs lib/activehook/client/config.rb in activehook-0.1.5
- old
+ new
@@ -1,12 +1,13 @@
module ActiveHook
module Client
class Config < ActiveHook::BaseConfig
OTHER_DEFAULTS = {
- validation_uri: 'http://localhost:3000/hooks/validate'
+ validation_uri: '',
+ validation_token: ''
}.freeze
- attr_accessor :validation_uri
+ attr_accessor :validation_uri, :validation_token
def initialize
super
OTHER_DEFAULTS.each { |key, value| send("#{key}=", value) }
end