Class: Liteguard::Guard

Inherits:
Data
  • Object
show all
Defined in:
lib/liteguard/types.rb

Overview

A named feature guard with an ordered rule set.

Instance Attribute Summary collapse

Instance Attribute Details

#adoptedObject (readonly)

Returns the value of attribute adopted

Returns:

  • (Object)

    the current value of adopted



38
39
40
# File 'lib/liteguard/types.rb', line 38

def adopted
  @adopted
end

#default_valueObject (readonly)

Returns the value of attribute default_value

Returns:

  • (Object)

    the current value of default_value



38
39
40
# File 'lib/liteguard/types.rb', line 38

def default_value
  @default_value
end

#disable_measurementObject (readonly)

Returns the value of attribute disable_measurement

Returns:

  • (Object)

    the current value of disable_measurement



38
39
40
# File 'lib/liteguard/types.rb', line 38

def disable_measurement
  @disable_measurement
end

#dry_run_rate_limitObject (readonly)

Returns the value of attribute dry_run_rate_limit

Returns:

  • (Object)

    the current value of dry_run_rate_limit



38
39
40
# File 'lib/liteguard/types.rb', line 38

def dry_run_rate_limit
  @dry_run_rate_limit
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



38
39
40
# File 'lib/liteguard/types.rb', line 38

def name
  @name
end

#rate_limitObject (readonly)

Returns the value of attribute rate_limit

Returns:

  • (Object)

    the current value of rate_limit



38
39
40
# File 'lib/liteguard/types.rb', line 38

def rate_limit
  @rate_limit
end

#rulesObject (readonly)

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



38
39
40
# File 'lib/liteguard/types.rb', line 38

def rules
  @rules
end