Method: Pipekit::Repository#update
- Defined in:
- lib/pipekit/repository.rb
#update(id, fields) ⇒ Object
Public: Updates a record on Pipedrive.
fields - fields for the record.
Examples
update(123, {name: "Jane Doe"})
Returns nothing.
67 68 69 |
# File 'lib/pipekit/repository.rb', line 67 def update(id, fields) request.put(id, fields) end |