Class: MoonropeClient::Responses::ValidationError
- Inherits:
-
MoonropeClient::Response
- Object
- MoonropeClient::Response
- MoonropeClient::Responses::ValidationError
- Defined in:
- lib/moonrope_client/responses/validation_error.rb
Instance Method Summary collapse
Methods inherited from MoonropeClient::Response
#data, #flags, #initialize, #status, #success?, #time
Constructor Details
This class inherits a constructor from MoonropeClient::Response
Instance Method Details
#errors ⇒ Object
5 6 7 |
# File 'lib/moonrope_client/responses/validation_error.rb', line 5 def errors data['errors'] end |
#exception_message ⇒ Object
9 10 11 |
# File 'lib/moonrope_client/responses/validation_error.rb', line 9 def self.errors.join(', ') end |