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.
126 127 128 129 |
# File 'app/services/databasium/model.rb', line 126 def initialize(name:, value:) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
125 126 127 |
# File 'app/services/databasium/model.rb', line 125 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
125 126 127 |
# File 'app/services/databasium/model.rb', line 125 def value @value end |