Sha256: e77e65b419acb8f59ff3b44da40075732502e19ca555114df51965052682d979

Contents?: true

Size: 796 Bytes

Versions: 10

Compression:

Stored size: 796 Bytes

Contents

# typed: ignore

# Copyright (c) 2015 Sqreen. All Rights Reserved.
# Please refer to our terms for more information: https://www.sqreen.com/terms.html

module Sqreen
  module Rules
    # Common field names in a rule
    module Attrs
      CALLBACKS = 'callbacks'.freeze
      BLOCK = 'block'.freeze
      TEST = 'test'.freeze
      DATA = 'data'.freeze
      PAYLOAD = 'payload'.freeze
      NAME = 'name'.freeze
      RULESPACK_ID = 'rulespack_id'.freeze
      HOOKPOINT = 'hookpoint'.freeze
      KLASS = 'klass'.freeze
      METHOD = 'method'.freeze
      CALLBACK_CLASS = 'callback_class'.freeze
      METRICS = 'metrics'.freeze
      CONDITIONS = 'conditions'.freeze
      CALL_COUNT_INTERVAL = 'call_count_interval'.freeze
      PRIORITY = 'priority'.freeze

      freeze
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sqreen-1.25.1 lib/sqreen/rules/attrs.rb
sqreen-1.25.0 lib/sqreen/rules/attrs.rb
sqreen-1.24.3 lib/sqreen/rules/attrs.rb
sqreen-1.24.2 lib/sqreen/rules/attrs.rb
sqreen-1.24.1 lib/sqreen/rules/attrs.rb
sqreen-1.24.0 lib/sqreen/rules/attrs.rb
sqreen-1.23.2 lib/sqreen/rules/attrs.rb
sqreen-1.23.1 lib/sqreen/rules/attrs.rb
sqreen-1.23.0 lib/sqreen/rules/attrs.rb
sqreen-1.22.1 lib/sqreen/rules/attrs.rb