class EndpointFlux::Exceptions::Validation
Public Instance Methods
to_hash()
click to toggle source
# File lib/endpoint_flux/exceptions/validation.rb, line 4 def to_hash { status: 422, message: 'validation errors', errors: @messages } end