Sha256: 4a93966aa67e684cc2d0aaa84514f26d125f39263f348aedaff939a95b31885b
Contents?: true
Size: 439 Bytes
Versions: 3
Compression:
Stored size: 439 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.list_activedocs.each do |activedoc| target.remote.delete_activedocs(activedoc['id']) end end def target context[:target] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems