boxr 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/boxr/users.rb +3 -1
- data/lib/boxr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0d35442147a7859ff1e7836f4046b25da444bb2
|
|
4
|
+
data.tar.gz: 622c1804bacc35c7e93a0f745b1c6ac51e3c4ae6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 266c516b45ad743e435269d82f455a4f93abbcb25f8dab734ae87bb088b781526445153aaa113ce81ea35c7c913738edca5606cd2efd8db93f8349cb987b95ce
|
|
7
|
+
data.tar.gz: 8077b76c399e2007df9d8b3e21825ba32c6618d4183d8e5a6609dd228eeb76071407eb9d3f87c4abdc3e13ccb18aea350a63ea0b37d01361791b8484fdd9cd32
|
data/lib/boxr/users.rb
CHANGED
|
@@ -39,7 +39,8 @@ module Boxr
|
|
|
39
39
|
def create_user(login, name, role: nil, language: nil, is_sync_enabled: nil, job_title: nil,
|
|
40
40
|
phone: nil, address: nil, space_amount: nil, tracking_codes: nil,
|
|
41
41
|
can_see_managed_users: nil, is_external_collab_restricted: nil, status: nil, timezone: nil,
|
|
42
|
-
is_exempt_from_device_limits: nil, is_exempt_from_login_verification: nil
|
|
42
|
+
is_exempt_from_device_limits: nil, is_exempt_from_login_verification: nil,
|
|
43
|
+
is_platform_access_only: nil)
|
|
43
44
|
|
|
44
45
|
uri = USERS_URI
|
|
45
46
|
attributes = {login: login, name: name}
|
|
@@ -57,6 +58,7 @@ module Boxr
|
|
|
57
58
|
attributes[:timezone] = timezone unless timezone.nil?
|
|
58
59
|
attributes[:is_exempt_from_device_limits] = is_exempt_from_device_limits unless is_exempt_from_device_limits.nil?
|
|
59
60
|
attributes[:is_exempt_from_login_verification] = is_exempt_from_login_verification unless is_exempt_from_login_verification.nil?
|
|
61
|
+
attributes[:is_platform_access_only] = is_platform_access_only unless is_platform_access_only.nil?
|
|
60
62
|
|
|
61
63
|
new_user, response = post(uri, attributes)
|
|
62
64
|
new_user
|
data/lib/boxr/version.rb
CHANGED