Module: DockHealthApi::Crud::Put
- Included in:
- TaskList::User, Webhook
- Defined in:
- lib/dock_health_api/crud/put.rb
Instance Method Summary collapse
Instance Method Details
#put(params = {}) ⇒ Object
4 5 6 7 |
# File 'lib/dock_health_api/crud/put.rb', line 4 def put(params={}) id = params.delete(:id) response = execute_request(:put, "#{resource_url}/#{id}", headers: headers, body_params: params) end |