Class: Nexmo::Conversations::Legs

Inherits:
Namespace
  • Object
show all
Defined in:
lib/nexmo/conversations/legs.rb

Instance Method Summary collapse

Instance Method Details

#delete(leg_id) ⇒ Response

Delete a leg.

Parameters:

  • leg_id (String)

Returns:

See Also:


25
26
27
# File 'lib/nexmo/conversations/legs.rb', line 25

def delete(leg_id)
  request('/beta/legs/' + leg_id, type: Delete)
end

#listResponse

List legs.


13
14
15
# File 'lib/nexmo/conversations/legs.rb', line 13

def list
  request('/beta/legs')
end