Class: Evey::EventSerializer
- Inherits:
-
Kix::Serializer
- Object
- Kix::Serializer
- Evey::EventSerializer
- Defined in:
- lib/evey/event_serializer.rb
Instance Method Summary collapse
Instance Method Details
#errors ⇒ Object
5 6 7 8 9 |
# File 'lib/evey/event_serializer.rb', line 5 def errors throw(:skip) if _object.errors.empty? _object.errors_as_json end |