Class: Vonage::Conversations::Members
- Inherits:
-
Namespace
- Object
- Namespace
- Vonage::Conversations::Members
- Defined in:
- lib/vonage/conversations/members.rb
Instance Method Summary collapse
-
#create(conversation_id, params) ⇒ Response
deprecated
Deprecated.
Please use Vonage::Conversation::Member#create instead
- #delete(conversation_id, member_id) ⇒ Response deprecated Deprecated.
-
#get(conversation_id, member_id) ⇒ Response
deprecated
Deprecated.
Please use Vonage::Conversation::Member#find instead
-
#list(conversation_id, params = nil, auto_advance = true) ⇒ Response
deprecated
Deprecated.
Please use Vonage::Conversation::Member#list instead
-
#update(conversation_id, member_id, params) ⇒ Response
deprecated
Deprecated.
Please use Vonage::Conversation::Member#update instead
Instance Method Details
#create(conversation_id, params) ⇒ Response
Deprecated.
Please use Vonage::Conversation::Member#create instead
Create a member.
44 45 46 47 |
# File 'lib/vonage/conversations/members.rb', line 44 def create(conversation_id, params) logger.info('This method is deprecated and will be removed in a future release. Please use `Vonage::Conversation::Member#create` instead.') request('/beta/conversations/' + conversation_id + '/members', params: params, type: Post) end |
#delete(conversation_id, member_id) ⇒ Response
Deprecated.
Delete a member.
118 119 120 121 |
# File 'lib/vonage/conversations/members.rb', line 118 def delete(conversation_id, member_id) logger.info('This method is deprecated and will be removed in a future release.') request('/beta/conversations/' + conversation_id + '/members/' + member_id, type: Delete) end |
#get(conversation_id, member_id) ⇒ Response
Deprecated.
Please use Vonage::Conversation::Member#find instead
Retrieve a member.
79 80 81 82 |
# File 'lib/vonage/conversations/members.rb', line 79 def get(conversation_id, member_id) logger.info('This method is deprecated and will be removed in a future release. Please use `Vonage::Conversation::Member#find` instead.') request('/beta/conversations/' + conversation_id + '/members/' + member_id) end |
#list(conversation_id, params = nil, auto_advance = true) ⇒ Response
Deprecated.
Please use Vonage::Conversation::Member#list instead
List members.
63 64 65 66 |
# File 'lib/vonage/conversations/members.rb', line 63 def list(conversation_id, params = nil, auto_advance = true) logger.info('This method is deprecated and will be removed in a future release. Please use `Vonage::Conversation::Member#list` instead.') request('/beta/conversations/' + conversation_id + '/members', params: params) end |
#update(conversation_id, member_id, params) ⇒ Response
Deprecated.
Please use Vonage::Conversation::Member#update instead
Update a member.
102 103 104 105 |
# File 'lib/vonage/conversations/members.rb', line 102 def update(conversation_id, member_id, params) logger.info('This method is deprecated and will be removed in a future release. Please use `Vonage::Conversation::Member#update` instead.') request('/beta/conversations/' + conversation_id + '/members/' + member_id, params: params, type: Put) end |