Class: Vonage::Conversation::User
- Inherits:
-
Namespace
- Object
- Namespace
- Vonage::Conversation::User
- Defined in:
- lib/vonage/conversation/user.rb
Defined Under Namespace
Classes: ConversationsListResponse, SessionsListResponse
Instance Method Summary collapse
-
#list_conversations(user_id:, **params) ⇒ Conversation::User::ConversationsListResponse
List conversations associated with a user.
-
#list_sessions(user_id:, **params) ⇒ Conversation::User::SessionsListResponse
List conversations associated with a user.
Instance Method Details
#list_conversations(user_id:, **params) ⇒ Conversation::User::ConversationsListResponse
List conversations associated with a user.
39 40 41 |
# File 'lib/vonage/conversation/user.rb', line 39 def list_conversations(user_id:, **params) request("/v1/users/#{user_id}/conversations", params: params, response_class: ConversationsListResponse) end |
#list_sessions(user_id:, **params) ⇒ Conversation::User::SessionsListResponse
List conversations associated with a user.
63 64 65 |
# File 'lib/vonage/conversation/user.rb', line 63 def list_sessions(user_id:, **params) request("/v1/users/#{user_id}/sessions", params: params, response_class: SessionsListResponse) end |