class ThreeScaleToolbox::Commands::ServiceCommand::CopyCommand::CopyPoliciesTask

Public Instance Methods

call() click to toggle source
# File lib/3scale_toolbox/commands/service_command/copy_command/copy_policies_task.rb, line 8
def call
  logger.info 'copy proxy policies'
  source_policies = source.policies
  target.update_policies('policies_config' => source_policies)
end