Sha256: cfa9a685c7c86a704179e712f9d9dbb6334202dd46425834d4c20cfd80ccfd24
Contents?: true
Size: 336 Bytes
Versions: 6
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true class Zendesk2::DestroyHelpCenterTopic include Zendesk2::Request request_path { |r| "/community/topics/#{r.topic_id}.json" } request_method :delete def topic_id params.fetch('topic').fetch('id') end def mock mock_response('topic' => delete!(:help_center_topics, topic_id)) end end
Version data entries
6 entries across 6 versions & 1 rubygems