Sha256: 0847ac1c09ad99b21da5d2d237c13044b499f016fc7002f265151320c148effe
Contents?: true
Size: 291 Bytes
Versions: 5
Compression:
Stored size: 291 Bytes
Contents
class Zendesk2::Client::DestroyView < Zendesk2::Client::Request request_method :delete request_path { |r| "/views/#{r.view_id}.json" } def view_id @_view_id ||= params.fetch("view").fetch("id") end def mock self.delete!(:views, view_id) mock_response(nil) end end
Version data entries
5 entries across 5 versions & 1 rubygems