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.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#rate_limit_per_minute ⇒ Object
readonly
Returns the value of attribute rate_limit_per_minute.
-
#rate_limit_properties ⇒ Object
readonly
Returns the value of attribute rate_limit_properties.
-
#rules ⇒ Object
readonly
Returns the value of attribute rules.
Instance Attribute Details
#adopted ⇒ Object (readonly)
Returns the value of attribute adopted
19 20 21 |
# File 'lib/liteguard/types.rb', line 19 def adopted @adopted end |
#default_value ⇒ Object (readonly)
Returns the value of attribute default_value
19 20 21 |
# File 'lib/liteguard/types.rb', line 19 def default_value @default_value end |
#disable_measurement ⇒ Object (readonly)
Returns the value of attribute disable_measurement
19 20 21 |
# File 'lib/liteguard/types.rb', line 19 def disable_measurement @disable_measurement end |
#name ⇒ Object (readonly)
Returns the value of attribute name
19 20 21 |
# File 'lib/liteguard/types.rb', line 19 def name @name end |
#rate_limit_per_minute ⇒ Object (readonly)
Returns the value of attribute 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_properties ⇒ Object (readonly)
Returns the value of attribute rate_limit_properties
19 20 21 |
# File 'lib/liteguard/types.rb', line 19 def rate_limit_properties @rate_limit_properties end |
#rules ⇒ Object (readonly)
Returns the value of attribute rules
19 20 21 |
# File 'lib/liteguard/types.rb', line 19 def rules @rules end |