Class: ThreeScaleToolbox::Commands::BackendCommand::CopyCommand::CopyMethodsTask
- Inherits:
-
Object
- Object
- ThreeScaleToolbox::Commands::BackendCommand::CopyCommand::CopyMethodsTask
- Includes:
- Task
- Defined in:
- lib/3scale_toolbox/commands/backend_command/copy_command/copy_methods_task.rb
Instance Attribute Summary
Attributes included from Task
Instance Method Summary collapse
-
#run ⇒ Object
entrypoint.
Methods included from Task
#call, #initialize, #logger, #option_target_system_name, #report, #source_backend, #source_backend_ref, #source_remote, #target_backend, #target_backend=, #target_remote
Instance Method Details
#run ⇒ Object
entrypoint
9 10 11 12 13 |
# File 'lib/3scale_toolbox/commands/backend_command/copy_command/copy_methods_task.rb', line 9 def run missing_methods.each(&method(:create_method)) logger.info "created #{missing_methods.size} missing methods" report['missing_methods_created'] = missing_methods.size end |