Class: Crashbreak::BasicInformationSerializer
- Inherits:
-
BasicSerializer
- Object
- BasicSerializer
- Crashbreak::BasicInformationSerializer
- Defined in:
- lib/crashbreak/serializers/basic_information_serializer.rb
Instance Method Summary collapse
Instance Method Details
#serialize ⇒ Object
3 4 5 |
# File 'lib/crashbreak/serializers/basic_information_serializer.rb', line 3 def serialize { name: exception.class.to_s, message: exception., backtrace: exception.backtrace, environment: ENV['RACK_ENV'] } end |