Class: Karafka::Core::Contractable::Rule
- Inherits:
-
Struct
- Object
- Struct
- Karafka::Core::Contractable::Rule
- Defined in:
- lib/karafka/core/contractable/rule.rb
Overview
Representation of a single validation rule
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#type ⇒ Object
Returns the value of attribute type.
-
#validator ⇒ Object
Returns the value of attribute validator.
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
7 8 9 |
# File 'lib/karafka/core/contractable/rule.rb', line 7 def path @path end |
#type ⇒ Object
Returns the value of attribute type
7 8 9 |
# File 'lib/karafka/core/contractable/rule.rb', line 7 def type @type end |
#validator ⇒ Object
Returns the value of attribute validator
7 8 9 |
# File 'lib/karafka/core/contractable/rule.rb', line 7 def validator @validator end |