Class: Vonage::ProactiveConnect::Events

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

Defined Under Namespace

Classes: ListResponse

Instance Method Summary collapse

Instance Method Details

#list(**params) ⇒ Object

Deprecated.

Find all events

Examples:

response = proactive_connect.events.list

See Also:

Parameters:

  • Page of results to jump to

  • Number of results per page

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

  • Run IDs to filter by, if not specified, returns events for any run id

  • Event types to filter by

  • Action IDs to filter by.

  • Invocation IDs to filter by

  • Recipient IDs to filter by

  • Run item IDs to filter by

  • The name of the segment / matcher the item / event to filter by (exact string)

  • Source types to filter by

  • Trace IDs to filter events by

  • ISO-8601 formatted date for when to begin events filter

  • ISO-8601 formatted date for when to end events filter



63
64
65
66
67
68
69
# File 'lib/vonage/proactive_connect/events.rb', line 63

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

  request(path, response_class: ListResponse)
end