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



19
20
21
# File 'lib/liteguard/types.rb', line 19

def adopted
  @adopted
end

#default_valueObject (readonly)

Returns the value of attribute default_value

Returns:

  • (Object)

    the current value of default_value



19
20
21
# File 'lib/liteguard/types.rb', line 19

def default_value
  @default_value
end

#disable_measurementObject (readonly)

Returns the value of attribute disable_measurement

Returns:

  • (Object)

    the current value of disable_measurement



19
20
21
# File 'lib/liteguard/types.rb', line 19

def disable_measurement
  @disable_measurement
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/liteguard/types.rb', line 19

def name
  @name
end

#rate_limit_per_minuteObject (readonly)

Returns the value of attribute rate_limit_per_minute

Returns:

  • (Object)

    the current value of rate_limit_per_minute



19
20
21
# File 'lib/liteguard/types.rb', line 19

def rate_limit_per_minute
  @rate_limit_per_minute
end

#rate_limit_propertiesObject (readonly)

Returns the value of attribute rate_limit_properties

Returns:

  • (Object)

    the current value of rate_limit_properties



19
20
21
# File 'lib/liteguard/types.rb', line 19

def rate_limit_properties
  @rate_limit_properties
end

#rulesObject (readonly)

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



19
20
21
# File 'lib/liteguard/types.rb', line 19

def rules
  @rules
end