NAME
Paymill::REST::Item::Webhook - Item class for a webhook
SYNOPSIS
my $webhook_api = Paymill::REST::Webhooks->new;
$webhook = $webhook_api->find('hook_lk2j34h5lk34h5lkjh2');
say $webhook->url; # Prints the URL of the webhook
DESCRIPTION
Represents a webhook with all attributes.
ATTRIBUTES
- id
-
String containing the identifier of the webhook
- url
-
Uri object of the webhook's URL
-
String containing the webhook's e-mail address
- livemode
-
Boolean indicating whether this webhook is for livemode events
- event_types
-
Array of event types this webhook is subscribed to
- app_id
-
String representing the app id that created this webhook
AVAILABLE OPERATIONS
SEE ALSO
Paymill::REST for more documentation.
AUTHOR
Matthias Dietrich <perl@rainboxx.de>
COPYRIGHT
Copyright 2013 - Matthias Dietrich
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.