Module: DomoscioRails::HTTPCalls::Destroy::ClassMethods

Defined in:
lib/domoscio_rails/http_calls.rb

Instance Method Summary collapse

Instance Method Details

#destroy(id = nil, params = {}) ⇒ Object



43
44
45
# File 'lib/domoscio_rails/http_calls.rb', line 43

def destroy(id = nil, params = {})
  DomoscioRails.request(:delete, url(id, nil, params), params)
end