Sha256: 90845a830777e731ea378369e66ff7dc944678f7aa81fa2e4baf2346c20d94a6

Contents?: true

Size: 361 Bytes

Versions: 5

Compression:

Stored size: 361 Bytes

Contents

module ActiveHook
  module Client
    class Config < ActiveHook::BaseConfig
      OTHER_DEFAULTS = {
        validation_uri: '',
        validation_token: ''
      }.freeze

      attr_accessor :validation_uri, :validation_token

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activehook-0.1.9 lib/activehook/client/config.rb
activehook-0.1.8 lib/activehook/client/config.rb
activehook-0.1.7 lib/activehook/client/config.rb
activehook-0.1.6 lib/activehook/client/config.rb
activehook-0.1.5 lib/activehook/client/config.rb