shelby_arena 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shelby_arena/resources/person.rb +5 -2
- data/lib/shelby_arena/response/person.rb +3 -1
- data/lib/shelby_arena/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 730cf23bfb3b1c40b817079183fadb94ff7059566802e33cd1dab2fcba994b28
|
4
|
+
data.tar.gz: 3638a5751cd52e0e81f799cdbcb0f39759f550be7773c31f6f270e063ffb8396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5926f66ac739c7680691379b80efa2db1f430a33e8be82617ebcbec043bf50b3cb6c69546946209270f2a5019a255d910ecd3935d4060ce99fb9e552afe7b25e
|
7
|
+
data.tar.gz: 66ac77a23bba3dfd87cf716f9c29ec20f87f48746e47ffa28363ba7b497ae6997323b6158c5493abb0067b9dc923fe21a795e0485451b8f9e17c20b1a2f31526
|
@@ -26,7 +26,8 @@ module ShelbyArena
|
|
26
26
|
first_name:,
|
27
27
|
last_name:,
|
28
28
|
email:,
|
29
|
-
record_status_id: 2
|
29
|
+
record_status_id: 2,
|
30
|
+
campus_id: nil
|
30
31
|
)
|
31
32
|
path = 'person/add'
|
32
33
|
|
@@ -34,9 +35,11 @@ module ShelbyArena
|
|
34
35
|
'FirstName' => first_name,
|
35
36
|
'LastName' => last_name,
|
36
37
|
'Emails' => ['Address' => email],
|
37
|
-
'RecordStatusID' => record_status_id
|
38
|
+
'RecordStatusID' => record_status_id
|
38
39
|
}
|
39
40
|
|
41
|
+
body['CampusID'] = campus_id if campus_id
|
42
|
+
|
40
43
|
options = {}
|
41
44
|
options[:api_sig] = generate_api_sig(path, options)
|
42
45
|
res = json_post("#{path}?api_session=#{options[:api_session]}&api_sig=#{options[:api_sig]}", body.to_json)
|
data/lib/shelby_arena/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelby_arena
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|