Class: Foobara::CommandConnector::Commands::Describe
- Inherits:
-
Foobara::Command
- Object
- Foobara::Command
- Foobara::CommandConnector::Commands::Describe
- Defined in:
- foobara-0.7.3/projects/command_connectors/src/command_connector/commands/describe.rb
Direct Known Subclasses
Constant Summary
Constants included from TruncatedInspect
Instance Attribute Summary collapse
-
#manifest ⇒ Object
Returns the value of attribute manifest.
Instance Method Summary collapse
Methods inherited from Foobara::Command
Methods included from Foobara::CommandPatternImplementation
install_state_machine_callback_methods
Methods included from TruncatedInspect
Methods included from Foobara::Concern
foobara_class_methods_module_for, foobara_concern?, included
Instance Attribute Details
#manifest ⇒ Object
Returns the value of attribute manifest.
20 21 22 |
# File 'projects/command_connectors/src/command_connector/commands/describe.rb', line 20 def manifest @manifest end |
Instance Method Details
#build_manifest ⇒ Object
22 23 24 |
# File 'projects/command_connectors/src/command_connector/commands/describe.rb', line 22 def build_manifest self.manifest = manifestable. end |
#execute ⇒ Object
13 14 15 16 17 18 |
# File 'projects/command_connectors/src/command_connector/commands/describe.rb', line 13 def execute build_manifest manifest end |
#stamp_request_metadata ⇒ Object
26 27 28 |
# File 'projects/command_connectors/src/command_connector/commands/describe.rb', line 26 def manifest[:metadata] = { when: Time.now, foobara_version: Foobara::Version::VERSION } end |