Module: ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasInspect::Concern
- Includes:
- ConvenientService::Support::Concern
- Defined in:
- lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_inspect/concern.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ String
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_inspect/concern.rb', line 18 def inspect parts = [ "#{service.inspect_values[:name]}::Result", "status: :#{status}" ] parts << "data_keys: #{unsafe_data.keys.inspect}" if unsafe_data.keys.any? parts << "message: \"#{}\"" unless .empty? "<#{parts.join(" ")}>" end |