Sha256: 7d9fa4a6eec19f1cfd35cdaf08075f07e035cb196e61d4666d79983c3c15a094

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

module ActiveHook
  module Client
    class Config < ActiveHook::BaseConfig
      OTHER_DEFAULTS = {
        validation_uri: 'http://localhost:3000/hooks/validate'
      }.freeze

      attr_accessor :validation_uri

      def initialize
        super
        OTHER_DEFAULTS.each { |key, value| send("#{key}=", value) }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activehook-0.1.4 lib/activehook/client/config.rb
activehook-0.1.3 lib/activehook/client/config.rb