You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ We utilise the find function to return a record by searching for it by a unique
161
161
The find all function returns a customised Laravel Collection, which we call a resultset.
162
162
163
163
```php
164
-
$users = Zoom::user()->all();
164
+
$users = Zoom::user()->all();
165
165
```
166
166
167
167
When calling the the all function we will make up to 5 API calls to retreive all the data, so 5 x 300 records (the max allowed), i.e. up to 1500 records per request. This can be amended in the config by updating 'max_api_calls_per_request'.
@@ -335,7 +335,7 @@ Currently only the User model and Role model can be created directly, most other
335
335
To create a user.
336
336
337
337
```php
338
-
Zoom::user()->create([
338
+
Zoom::user()->create([
339
339
'first_name' => 'First Name',
340
340
'last_name' => 'Last Name',
341
341
'email' => 'test@test.com',
@@ -529,18 +529,18 @@ This is the main access for most models in Zoom.
529
529
530
530
// can only be retrieved through a user
531
531
532
-
$user()->settings;
532
+
$user->settings;
533
533
534
534
// To get sub relations then call the relationship of the setting
535
535
536
-
$user()->settings->scheduleMeeting;
537
-
$user()->settings->emailNotification;
538
-
$user()->settings->feature;
539
-
$user()->settings->inMeeting;
540
-
$user()->settings->integration;
541
-
$user()->settings->recording;
542
-
$user()->settings->telephony;
543
-
$user()->settings->tsp;
536
+
$user->settings->scheduleMeeting;
537
+
$user->settings->emailNotification;
538
+
$user->settings->feature;
539
+
$user->settings->inMeeting;
540
+
$user->settings->integration;
541
+
$user->settings->recording;
542
+
$user->settings->telephony;
543
+
$user->settings->tsp;
544
544
545
545
// To update a setting
546
546
@@ -842,7 +842,8 @@ If you discover any security related issues, please email colin@macsi.co.uk inst
0 commit comments