Class: NexusAPI::Move
- Inherits:
-
Thor
- Object
- Thor
- NexusAPI::Move
- Includes:
- CLIUtils
- Defined in:
- lib/nexus_api/cli_commands/move.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
Instance Method Summary collapse
Methods included from CLIUtils
#if_file_exists?, #print_element, #print_paginating_set, #print_set, #repository_set?, #set, #setup
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
3 4 5 |
# File 'lib/nexus_api/cli_commands/move.rb', line 3 def api @api end |
Instance Method Details
#components ⇒ Object
10 11 12 13 |
# File 'lib/nexus_api/cli_commands/move.rb', line 10 def components setup @api.move_components_to(destination: [:destination], tag: [:tag]) end |