Class: Liteguard::Guard
- Inherits:
-
Data
- Object
- Data
- Liteguard::Guard
- Defined in:
- lib/liteguard/types.rb
Overview
A named feature guard with an ordered rule set.
Instance Attribute Summary collapse
-
#adopted ⇒ Object
readonly
Returns the value of attribute adopted.
-
#default_value ⇒ Object
readonly
Returns the value of attribute default_value.
-
#disable_measurement ⇒ Object
readonly
Returns the value of attribute disable_measurement.
-
#dry_run_rate_limit ⇒ Object
readonly
Returns the value of attribute dry_run_rate_limit.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#rate_limit ⇒ Object
readonly
Returns the value of attribute rate_limit.
-
#rules ⇒ Object
readonly
Returns the value of attribute rules.
Instance Attribute Details
#adopted ⇒ Object (readonly)
Returns the value of attribute adopted
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def adopted @adopted end |
#default_value ⇒ Object (readonly)
Returns the value of attribute default_value
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def default_value @default_value end |
#disable_measurement ⇒ Object (readonly)
Returns the value of attribute disable_measurement
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def disable_measurement @disable_measurement end |
#dry_run_rate_limit ⇒ Object (readonly)
Returns the value of attribute dry_run_rate_limit
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def dry_run_rate_limit @dry_run_rate_limit end |
#name ⇒ Object (readonly)
Returns the value of attribute name
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def name @name end |
#rate_limit ⇒ Object (readonly)
Returns the value of attribute rate_limit
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def rate_limit @rate_limit end |
#rules ⇒ Object (readonly)
Returns the value of attribute rules
38 39 40 |
# File 'lib/liteguard/types.rb', line 38 def rules @rules end |