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

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:



28
29
30
31
32
33
# File 'lib/vonage/proactive_connect/lists.rb', line 28

def list(**params)
  path = "/v0.1/bulk/lists"
  path += "?#{Params.encode(params)}" unless params.empty?

  request(path, response_class: ListResponse)
end