Class: Vonage::Conversations::Legs

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

Instance Method Summary collapse

Instance Method Details

#delete(leg_id) ⇒ Response

Deprecated.

Delete a leg.

Parameters:

  • leg_id (String)

Returns:

See Also:



35
36
37
38
# File 'lib/vonage/conversations/legs.rb', line 35

def delete(leg_id)
  logger.info('This method is deprecated and will be removed in a future release.')
  request('/beta/legs/' + leg_id, type: Delete)
end

#list(params = nil, auto_advance = true) ⇒ Response

Deprecated.

List legs.

Parameters:

  • params (Hash) (defaults to: nil)

    a customizable set of options

Options Hash (params):

  • :auto_advance (Boolean)

    Set this to ‘false` to not auto-advance through all the pages in the record and collect all the data. The default is `true`.

Returns:

See Also:



20
21
22
23
# File 'lib/vonage/conversations/legs.rb', line 20

def list(params = nil, auto_advance = true)
  logger.info('This method is deprecated and will be removed in a future release.')
  request('/beta/legs', params: params)
end