Sha256: b77195932174ccc97123904f91f0975f8ef752cacf6ffa819291c11ad7fb9e89
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
module ThreeScaleToolbox module Commands module UpdateCommand module ServiceCommand 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems