Skip to content

Commit a72079b

Browse files
authored
Merge pull request #18 from TechTomaz/fix/update-readme
Update readme
2 parents b19a405 + 7373b88 commit a72079b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ You will find your username and password at https://46elks.se/account
6464

6565
To use this channel simply create a notification that has the following content:
6666
```
67+
use NotificationChannels\FortySixElks\FortySixElksChannel;
68+
use NotificationChannels\FortySixElks\FortySixElksSMS;
6769
6870
public function via($notifiable)
6971
{
@@ -77,7 +79,8 @@ To use this channel simply create a notification that has the following content:
7779
->line('Testsms')
7880
->line('Olle')
7981
->to('+46762216234')
80-
->from('Emil');
82+
->from('Emil')
83+
// -dry()
8184
}
8285
```
8386
### Available mediums
@@ -94,8 +97,9 @@ The FortySixElksSMS have the following methods, all chainable.
9497

9598
``flash()`` Will set the message type to flash. Will not endup in sms inbox. See [This tweet](https://twitter.com/46elks/status/583183559420178432) to find out how it looks on an iphone.
9699

97-
``dryrun()`` Enable when you want to verify your API request without actually sending an SMS to a mobile phone.
98-
No SMS message will be sent when this is enabled.
100+
``dry()`` Enable when you want to verify your API request without actually sending an SMS to a mobile phone.
101+
No SMS message will be sent when this is enabled. To be able inspect a dry() request you need to
102+
send your message to +4670000000 then you can inspect it at [https://46elks.com/logs](https://46elks.com/logs)
99103

100104
``whendelivered('http://localhost')`` This webhook URL will receive a POST request every time the delivery status changes.
101105

0 commit comments

Comments
 (0)