Sha256: a5a2589a8b971d642a6c83cb11d2b7f557616b8441bbe0138c9135ac920d8092
Contents?: true
Size: 434 Bytes
Versions: 8
Compression:
Stored size: 434 Bytes
Contents
module ThreeScaleToolbox module Tasks class DeleteActiveDocsTask attr_reader :context def initialize(context) @context = context end def call puts 'deleting all target service ActiveDocs' target.activedocs.each do |activedoc| target.remote.delete_activedocs(activedoc['id']) end end def target context[:target] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems