Sha256: 61a12cbdbcb71468950b4b5312014a5f7df73fb932a3d90ed7777bf8b3eb5eac
Contents?: true
Size: 1.09 KB
Versions: 5
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasJSendResult module Entities class Result module Plugins module HasAwesomePrintInspect module Concern include Support::Concern instance_methods do ## # @return [String] # def inspect metadata = { ConvenientService: { entity: "Result", service: service.inspect_values[:name], status: status.to_sym } } metadata[:data_keys] = unsafe_data.keys if unsafe_data.keys.any? metadata[:message] = unsafe_message unless unsafe_message.empty? metadata.ai end end end end end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems