class Zendesk2::GetHelpCenterSection

Public Instance Methods

mock(_params = {}) click to toggle source
# File lib/zendesk2/help_center/get_help_center_section.rb, line 15
def mock(_params = {})
  mock_response('section' => find!(:help_center_sections, section_id))
end
section_id() click to toggle source
# File lib/zendesk2/help_center/get_help_center_section.rb, line 11
def section_id
  params.fetch('section').fetch('id')
end