Class: Foobara::CommandConnectors::Http::Commands::Describe
- Inherits:
-
Foobara::CommandConnector::Commands::Describe
- Object
- Foobara::Command
- Foobara::CommandConnector::Commands::Describe
- Foobara::CommandConnectors::Http::Commands::Describe
- Defined in:
- foobara-http-command-connector-0.0.23/src/http/commands/describe.rb
Constant Summary
Constants included from TruncatedInspect
Instance Attribute Summary
Attributes inherited from Foobara::CommandConnector::Commands::Describe
Attributes included from Foobara::CommandPatternImplementation::Concerns::Subcommands
Attributes included from Foobara::CommandPatternImplementation::Concerns::Runtime
Attributes included from Foobara::CommandPatternImplementation::Concerns::Errors
Attributes included from Foobara::CommandPatternImplementation::Concerns::Inputs
Instance Method Summary collapse
- #build_manifest ⇒ Object
- #detached_context? ⇒ Boolean
- #in_detached_context ⇒ Object
- #stamp_request_metadata ⇒ Object
Methods inherited from Foobara::CommandConnector::Commands::Describe
Methods inherited from Foobara::Command
Methods included from Foobara::Concern
foobara_class_methods_module_for, foobara_concern?, included
Methods included from Foobara::CommandPatternImplementation::Concerns::Reflection
Methods included from Foobara::CommandPatternImplementation::Concerns::DomainMappers
#domain_map, #domain_map!, #run_mapped_subcommand!
Methods included from Foobara::CommandPatternImplementation::Concerns::Subcommands
#run_subcommand!, #subcommand?
Methods included from Foobara::CommandPatternImplementation::Concerns::Entities
Methods included from Foobara::CommandPatternImplementation::Concerns::Transactions
#auto_detect_current_transactions, #commit_transaction, #open_transaction, #opened_transactions, #relevant_entity_classes, #rollback_transaction, #transactions
Methods included from Foobara::CommandPatternImplementation::Concerns::StateMachine
Methods included from Foobara::CommandPatternImplementation::Concerns::Runtime
#execute, #halt!, #run, #run!, #run_execute, #succeed, #success?, #validate, #validate_records
Methods included from Foobara::CommandPatternImplementation::Concerns::Errors
Methods included from Foobara::CommandPatternImplementation::Concerns::Inputs
#cast_and_validate_inputs, #initialize, #method_missing, #respond_to_missing?, #respond_to_missing_for_inputs?
Methods included from TruncatedInspect
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Foobara::CommandPatternImplementation::Concerns::Inputs
Instance Method Details
#build_manifest ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'foobara-http-command-connector-0.0.23/src/http/commands/describe.rb', line 20 def build_manifest if detached_context? in_detached_context do super end else super end end |
#detached_context? ⇒ Boolean
30 31 32 |
# File 'foobara-http-command-connector-0.0.23/src/http/commands/describe.rb', line 30 def detached_context? detached end |
#in_detached_context ⇒ Object
16 17 18 |
# File 'foobara-http-command-connector-0.0.23/src/http/commands/describe.rb', line 16 def in_detached_context(&) TypeDeclarations.with_manifest_context(detached: true, &) end |
#stamp_request_metadata ⇒ Object
12 13 14 |
# File 'foobara-http-command-connector-0.0.23/src/http/commands/describe.rb', line 12 def manifest[:metadata] = super.merge(url: request.url) end |