openstax_accounts 9.0.4 → 9.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52c5a3872725bd1198629d59c0660cdcc7f75d7bf09e32640deb56d772922477
|
4
|
+
data.tar.gz: f48649499a41fa83f48ae34274cab542166bb61401d5edb3583c07f38c29c5bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a266e70528d538b2dabf9722ec10e20423e5e7e47e86846019db502e5079276e216d18347985f20b22bbacfdaecd25e6263b0a38b7032289ed25cf2cbbde4ca
|
7
|
+
data.tar.gz: ea546ef8e9fddb0d245ceeb8cbf6c9e4b9e0856eef81976c80b7f70ebac9b6aee3e1fcc56df1e7b9c9f708ca9178898173f5da7a46ce4e2191f25f4708eb960f
|
@@ -7,7 +7,7 @@ module OpenStax
|
|
7
7
|
|
8
8
|
def exec(email: nil, username: nil, password: nil, first_name: nil, last_name: nil,
|
9
9
|
full_name: nil, title: nil, salesforce_contact_id: nil, faculty_status: nil,
|
10
|
-
role: nil, school_type: nil, school_location: nil, is_test: nil)
|
10
|
+
role: nil, school_type: nil, school_location: nil, is_kip: nil, is_test: nil)
|
11
11
|
raise(
|
12
12
|
ArgumentError,
|
13
13
|
'You must specify either an email address or a username (and an optional password)'
|
@@ -23,7 +23,8 @@ module OpenStax
|
|
23
23
|
email: email, username: username, password: password,
|
24
24
|
first_name: first_name, last_name: last_name, full_name: full_name,
|
25
25
|
salesforce_contact_id: salesforce_contact_id, faculty_status: faculty_status,
|
26
|
-
role: role, school_type: school_type, school_location: school_location,
|
26
|
+
role: role, school_type: school_type, school_location: school_location,
|
27
|
+
is_kip: is_kip, is_test: is_test
|
27
28
|
)
|
28
29
|
fatal_error(code: :invalid_inputs) unless (200..202).include?(response.status)
|
29
30
|
|
@@ -47,6 +48,7 @@ module OpenStax
|
|
47
48
|
account.school_type = school_type || :unknown_school_type
|
48
49
|
account.school_location = school_location || :unknown_school_location
|
49
50
|
account.support_identifier = support_identifier
|
51
|
+
account.is_kip = is_kip
|
50
52
|
account.is_test = is_test
|
51
53
|
end
|
52
54
|
|