Method: Mints::Contact#update
- Defined in:
- lib/contact.rb
#update(data) ⇒ Object
Update.
Update logged contact attributes.
Parameters
- data
-
(Hash) – It’s the data to update with a session active.
Example
data = {
"given_name": "Given Name",
"last_name": "Last Name"
}
@data = @mints_contact.update(data)
198 199 200 |
# File 'lib/contact.rb', line 198 def update(data) return @client.raw("put", "/update", nil, data_transform(data), @contact_v1_url) end |