Module: Pvectl::Commands::ResourceLifecycleCommand::ClassMethods

Defined in:
lib/pvectl/commands/resource_lifecycle_command.rb,
sig/pvectl/commands/resource_lifecycle_command.rbs

Overview

Class methods added when the module is included.

Instance Method Summary collapse

Instance Method Details

#execute(resource_type, resource_ids, options, global_options) ⇒ Integer

Executes the lifecycle command.



36
37
38
# File 'lib/pvectl/commands/resource_lifecycle_command.rb', line 36

def execute(resource_type, resource_ids, options, global_options)
  new(resource_type, resource_ids, options, global_options).execute
end