Package simplify :: Class Event
[hide private]
[frames] | no frames]

Class Event

source code

domain.Domain --+
                |
               Event

A Event object.

Instance Methods [hide private]

Inherited from domain.Domain: __getitem__, __init__, __str__, class_name, to_dict

Static Methods [hide private]
 
create(params, public_api_key=None, private_api_key=None)
Create an Event object.
source code
Method Details [hide private]

create(params, public_api_key=None, private_api_key=None)
Static Method

source code 

Create an Event object.

Parameters:
  • params - a dict of parameters; valid keys are:
    • payload: The raw JWS message payload. required
    • url: The URL for the webhook. If present it must match the URL registered for the webhook.
  • public_api_key - Public key to use for the API call. If None, the value of simplify.public_key will be used.
  • private_api_key - API key to use for the API call. If None, the value of simplify.private_key will be used.
Returns:
an Event object