Class: Vonage::ProactiveConnect::Lists

Inherits:
Namespace
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/vonage/proactive_connect/lists.rb

Defined Under Namespace

Classes: ListResponse

Instance Method Summary collapse

Instance Method Details

#list(**params) ⇒ Object

Deprecated.

Find all lists

Examples:

response = proactive_connect.lists.list

Parameters:

  • :page (optional, String)

    Page of results to jump to

  • :page_size (optional, String)

    Number of results per page

  • order (optional, String)

    Sort in either ascending (asc, the default) or descending (desc) order

See Also:



30
31
32
33
34
35
36
# File 'lib/vonage/proactive_connect/lists.rb', line 30

def list(**params)
  logger.info('This method is deprecated and will be removed in a future release.')
  path = "/v0.1/bulk/lists"
  path += "?#{Params.encode(params)}" unless params.empty?

  request(path, response_class: ListResponse)
end