Method: Conversations#update_conversation
- Defined in:
- lib/user/content/conversations.rb
#update_conversation(id, data) ⇒ Object
Update conversation.
Update a conversation info.
Parameters
- id
-
(Integer) – Conversation id.
- data
-
(Hash) – Data to be submited.
Example
data = {
"title": "New Conversation Modified"
}
@data = @mints_user.update_conversation(13, data)
67 68 69 |
# File 'lib/user/content/conversations.rb', line 67 def update_conversation(id, data) return @client.raw("put", "/content/conversations/#{id}", nil, data_transform(data)) end |