Class: Crashbreak::BasicInformationSerializer

Inherits:
BasicSerializer show all
Defined in:
lib/crashbreak/serializers/basic_information_serializer.rb

Instance Method Summary collapse

Instance Method Details

#serializeObject



3
4
5
# File 'lib/crashbreak/serializers/basic_information_serializer.rb', line 3

def serialize
  { name: exception.class.to_s, message: exception.message, backtrace: exception.backtrace, environment: ENV['RACK_ENV'] }
end