Sha256: 5d5b366f0c6701557f7026d5c88cd99f1428bd8f3a61fedcad9534fd5e8e2b13
Contents?: true
Size: 350 Bytes
Versions: 6
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true class Zendesk2::DestroyHelpCenterSection include Zendesk2::Request request_method :delete request_path { |r| "/help_center/sections/#{r.section_id}.json" } def section_id params.fetch('section').fetch('id') end def mock delete!(:help_center_sections, section_id) mock_response(nil) end end
Version data entries
6 entries across 6 versions & 1 rubygems