Class: ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasAwesomePrintInspect::Commands::GenerateInspectOutput
- Inherits:
-
ConvenientService::Support::Command
- Object
- ConvenientService::Support::Command
- ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasAwesomePrintInspect::Commands::GenerateInspectOutput
- Defined in:
- lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_awesome_print_inspect/commands/generate_inspect_output.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #call ⇒ String
- #initialize(result:) ⇒ void constructor
Methods inherited from ConvenientService::Support::Command
Constructor Details
#initialize(result:) ⇒ void
28 29 30 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_awesome_print_inspect/commands/generate_inspect_output.rb', line 28 def initialize(result:) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
22 23 24 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_awesome_print_inspect/commands/generate_inspect_output.rb', line 22 def result @result end |
Instance Method Details
#call ⇒ String
35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/entities/result/plugins/has_awesome_print_inspect/commands/generate_inspect_output.rb', line 35 def call = {} [:entity] = "Result" [:service] = service [:original_service] = original_service if include_original_service? [:status] = status [:data_keys] = data_keys if include_data_keys? [:message] = if [:backtrace] = backtrace if include_backtrace? {ConvenientService: }.ai end |