From 594daf00f2118ad069f9faebfb2d22e4eff66226 Mon Sep 17 00:00:00 2001 From: Cyrill Kalita Date: Fri, 17 Apr 2020 14:35:20 -0500 Subject: [PATCH] Add support to Laravel 7.0 --- README.md | 9 ++------- composer.json | 6 +++--- src/Jobs/HandleDelivered.php | 1 + 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 937165c..a157bb3 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,7 @@ return [ * https://lob.com/docs#all_event_types */ 'jobs' => [ - // Here is an example - // 'letter.created' => \BinaryCats\LobWebhooks\Jobs\HandleLetter_Created::class, + // 'letter_delivered' => \BinaryCats\LobWebhooks\Jobs\HandleDelivered::class, ], /* @@ -109,8 +108,6 @@ There are two ways this package enables you to handle webhook requests: you can If you want to do something when a specific event type comes in you can define a job that does the work. Here's an example of such a job: ```php - [ - 'letter.created' => \App\Jobs\LobWebhooks\HandleLetter_Created::class, + 'letter_created' => \App\Jobs\Lob\Webhooks\HandleLetterCreatedJob::class, ], ``` @@ -176,8 +173,6 @@ protected $listen = [ Here's an example of such a listener: ```php -