Sha256: d9eefcb8be71364b18e75ac151246cae88db6e09388dd1d4c73bae34b66800b3

Contents?: true

Size: 468 Bytes

Versions: 17

Compression:

Stored size: 468 Bytes

Contents

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

  class Mock
    def destroy_help_center_section(id)
      response(
        :method => :delete,
        :path   => "/help_center/sections/#{id}.json",
        :body   => {
          "section" => self.find!(:help_center_sections, 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_section.rb
zendesk2-1.4.1 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.4.0 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.3.3 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.3.2 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.3.1 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.3.0 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.10 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.9 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.7 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.6 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.5 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.4 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.3 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.2 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.1 lib/zendesk2/client/requests/destroy_help_center_section.rb
zendesk2-1.2.0 lib/zendesk2/client/requests/destroy_help_center_section.rb