class Vonage::Conversations::Legs
Public Instance Methods
delete(leg_id)
click to toggle source
Delete a leg.
@param [String] leg_id
@return [Response]
@see developer.nexmo.com/api/conversation#deleteLeg
# File lib/vonage/conversations/legs.rb, line 30 def delete(leg_id) request('/beta/legs/' + leg_id, type: Delete) end
list(params = nil, auto_advance = true)
click to toggle source
List legs.
@option params [Boolean] :auto_advance
Set this to `false` to not auto-advance through all the pages in the record and collect all the data. The default is `true`.
@return [Response]
@see developer.nexmo.com/api/conversation#listLegs
# File lib/vonage/conversations/legs.rb, line 18 def list(params = nil, auto_advance = true) request('/beta/legs', params: params) end