class Zendesk2::DestroyOrganization

Public Instance Methods

mock() click to toggle source
# File lib/zendesk2/destroy_organization.rb, line 12
def mock
  delete!(:organizations, organization_id)

  mock_response(nil)
end
organization_id() click to toggle source
# File lib/zendesk2/destroy_organization.rb, line 8
def organization_id
  params.fetch('organization').fetch('id')
end