Sha256: c2421ad3f6cc778bcfbfe88815520f2e98fde8ec505148ba66f8ee04d3257537

Contents?: true

Size: 477 Bytes

Versions: 17

Compression:

Stored size: 477 Bytes

Contents

class Zendesk2::Client
  class Real
    def destroy_help_center_category(id)
      request(
        :method => :delete,
        :path   => "/help_center/categories/#{id}.json"
      )
    end
  end

  class Mock
    def destroy_help_center_category(id)
      response(
        :method => :delete,
        :path   => "/help_center/categories/#{id}.json",
        :body   => {
          "category" => self.find!(:help_center_categories, id),
        },
      )
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
zendesk2-1.4.2 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.4.1 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.4.0 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.3.3 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.3.2 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.3.1 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.3.0 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.10 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.9 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.7 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.6 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.5 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.4 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.3 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.2 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.1 lib/zendesk2/client/requests/destroy_help_center_category.rb
zendesk2-1.2.0 lib/zendesk2/client/requests/destroy_help_center_category.rb