Sha256: 5a0ae457e753d50ffcdac339d4fbfe0bdb1d455271e87e4cd0aa3c3a2bd1cd35

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

module ThreeScaleToolbox
  module Commands
    module ServiceCommand
      module CopyCommand
        class CopyPoliciesTask
          include Task

          def call
            puts 'copy proxy policies'
            source_policies = source.policies
            target.update_policies('policies_config' => source_policies)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
3scale_toolbox-0.17.1 lib/3scale_toolbox/commands/service_command/copy_command/copy_policies_task.rb
3scale_toolbox-0.17.0 lib/3scale_toolbox/commands/service_command/copy_command/copy_policies_task.rb
3scale_toolbox-0.16.0 lib/3scale_toolbox/commands/service_command/copy_command/copy_policies_task.rb