Class: WCC::Contentful::App::ValidationError::Message
- Inherits:
-
Struct
- Object
- Struct
- WCC::Contentful::App::ValidationError::Message
- Defined in:
- lib/wcc/contentful/app/exceptions.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
7 8 9 |
# File 'lib/wcc/contentful/app/exceptions.rb', line 7 def error @error end |
#path ⇒ Object
Returns the value of attribute path
7 8 9 |
# File 'lib/wcc/contentful/app/exceptions.rb', line 7 def path @path end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/wcc/contentful/app/exceptions.rb', line 9 def to_s "#{path}: #{error}" end |