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