# frozen_string_literal: true require 'freshdesk_api/resource' module FreshdeskAPI class SolutionFolder < Resource # Need to specify category_id in url def api_url(_options = {}) format('/solution/categories/%/folders', attributes) end def request_namespace 'solution_folder' end def response_namespace :folder end class << self def api_url(options = {}) format('/solution/categories/%/folders', options) end def collection_namespace 'category/folders' end end end end