Class: RailsBand::ActiveSupport::Event::MessageSerializerFallback
- Inherits:
-
BaseEvent
- Object
- BaseEvent
- RailsBand::ActiveSupport::Event::MessageSerializerFallback
show all
- Defined in:
- lib/rails_band/active_support/event/message_serializer_fallback.rb
Overview
A wrapper for the event that is passed to message_serializer_fallback.active_support.
Instance Attribute Summary
Attributes inherited from BaseEvent
#allocations, #cpu_time, #duration, #end, #idle_time, #name, #time, #transaction_id
Instance Method Summary
collapse
Methods inherited from BaseEvent
#initialize, #slice, #to_h
Instance Method Details
#deserialized ⇒ Object
20
21
22
|
# File 'lib/rails_band/active_support/event/message_serializer_fallback.rb', line 20
def deserialized
@deserialized ||= @event.payload.fetch(:deserialized)
end
|
#fallback ⇒ Object
12
13
14
|
# File 'lib/rails_band/active_support/event/message_serializer_fallback.rb', line 12
def fallback
@fallback ||= @event.payload.fetch(:fallback)
end
|
#serialized ⇒ Object
16
17
18
|
# File 'lib/rails_band/active_support/event/message_serializer_fallback.rb', line 16
def serialized
@serialized ||= @event.payload.fetch(:serialized)
end
|
#serializer ⇒ Object
8
9
10
|
# File 'lib/rails_band/active_support/event/message_serializer_fallback.rb', line 8
def serializer
@serializer ||= @event.payload.fetch(:serializer)
end
|