Module: DomoscioRails::HTTPCalls::Update::ClassMethods

Defined in:
lib/domoscio_rails/http_calls.rb

Instance Method Summary collapse

Instance Method Details

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



19
20
21
# File 'lib/domoscio_rails/http_calls.rb', line 19

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