Sha256: fcb04a3aae1b7cca6b53f331b4cc5661eabcd9c5bc7657929a6e4ec9312047c3

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

module ThreeScaleToolbox
  module Tasks
    class CopyServiceProxyTask
      include CopyTask

      def call
        target.update_proxy source.proxy
        target.update_oidc source.oidc if source.attrs['backend_version'] == 'oidc'
        puts "updated proxy of #{target.id} to match the original"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
3scale_toolbox-0.15.0 lib/3scale_toolbox/tasks/copy_service_proxy_task.rb