class Zendesk2::GetHelpCenterSectionsArticles
Public Instance Methods
mock()
click to toggle source
# File lib/zendesk2/help_center/get_help_center_sections_articles.rb, line 21 def mock find!(:help_center_sections, section_id) mock_response('articles' => data[:help_center_articles].values.select { |s| s['section_id'] == section_id }) end
section_id()
click to toggle source
# File lib/zendesk2/help_center/get_help_center_sections_articles.rb, line 17 def section_id Integer(params.fetch('section_id')) end