Sha256: 52f22fb73080dd830725ecfc0fd83387fa131fc7b10ac7a88efcfd817041bc1e
Contents?: true
Size: 391 Bytes
Versions: 6
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true class Zendesk2::GetHelpCenterAccessPolicy include Zendesk2::Request request_method :get request_path do |r| "/help_center/sections/#{r.section_id}/access_policy.json" end def section_id params.fetch('section_id') end def mock(_params = {}) mock_response('access_policy' => find!(:help_center_access_policies, section_id)) end end
Version data entries
6 entries across 6 versions & 1 rubygems