Module: LogStruct::Log::Shared::MergeAdditionalDataFields
- Extended by:
- T::Helpers, T::Sig
- Included in:
- ActionMailer::Delivered, ActionMailer::Delivery, ActionMailer::Error, Error, Plain, Puma::Shutdown, Puma::Start, LogStruct::Log::SQL, LogStruct::Log::Security::BlockedHost, LogStruct::Log::Security::CSRFViolation, LogStruct::Log::Security::IPSpoof
- Defined in:
- lib/log_struct/shared/merge_additional_data_fields.rb
Instance Method Summary collapse
Instance Method Details
#merge_additional_data_fields(hash) ⇒ void
This method returns an undefined value.
17 18 19 20 21 22 23 |
# File 'lib/log_struct/shared/merge_additional_data_fields.rb', line 17 def merge_additional_data_fields(hash) ad = additional_data return unless ad ad.each do |key, value| hash[key.to_sym] = value end end |