Class: Databasium::Model::ModelData::Validation
- Inherits:
-
Object
- Object
- Databasium::Model::ModelData::Validation
- Defined in:
- app/services/databasium/model.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name:, value:) ⇒ Validation
constructor
A new instance of Validation.
Constructor Details
#initialize(name:, value:) ⇒ Validation
Returns a new instance of Validation.
130 131 132 133 |
# File 'app/services/databasium/model.rb', line 130 def initialize(name:, value:) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
129 130 131 |
# File 'app/services/databasium/model.rb', line 129 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
129 130 131 |
# File 'app/services/databasium/model.rb', line 129 def value @value end |