Class: Schemurai::ValidationError
- Inherits:
-
Data
- Object
- Data
- Schemurai::ValidationError
- Defined in:
- lib/schemurai.rb
Instance Attribute Summary collapse
-
#instance_path ⇒ Object
readonly
Returns the value of attribute instance_path.
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#schema_path ⇒ Object
readonly
Returns the value of attribute schema_path.
Instance Method Summary collapse
Instance Attribute Details
#instance_path ⇒ Object (readonly)
Returns the value of attribute instance_path
13 14 15 |
# File 'lib/schemurai.rb', line 13 def instance_path @instance_path end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword
13 14 15 |
# File 'lib/schemurai.rb', line 13 def keyword @keyword end |
#message ⇒ Object (readonly)
Returns the value of attribute message
13 14 15 |
# File 'lib/schemurai.rb', line 13 def @message end |
#schema_path ⇒ Object (readonly)
Returns the value of attribute schema_path
13 14 15 |
# File 'lib/schemurai.rb', line 13 def schema_path @schema_path end |
Instance Method Details
#to_h ⇒ Object
14 15 16 |
# File 'lib/schemurai.rb', line 14 def to_h {keyword: keyword, instance_path: instance_path, schema_path: schema_path, message: } end |