rock_rms 9.17.0 → 9.19.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/rock_rms/resources/group.rb +18 -0
- data/lib/rock_rms/resources/phone_number.rb +9 -3
- data/lib/rock_rms/response/person.rb +1 -0
- data/lib/rock_rms/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: 93942de5bc0730b0857592a1ba4a914dadebeacc233f2c840a0cd4531a79ce43
|
4
|
+
data.tar.gz: 776db819d6a4b6ab6a583d0e3e4afad2d99b4261393344c5dec0fcec47911a11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccbdd51323e08c90202eed8a61c1ed3a82790fceab7475a8cd7b96b3e74cfa888657f89964828bfe10288da4f7a05f20b2f97708108c4c23aac027ddef279012
|
7
|
+
data.tar.gz: 0db3d055f7a09120119a815dc249cbedfcc325cc3947b43d2d71d882e546984ff0a582eb6059c67757a033dbb0c4bd648bf893cbde85cb47ba1ed191f11620a8
|
@@ -9,6 +9,24 @@ module RockRMS
|
|
9
9
|
Response::Group.format(get(group_path(id)))
|
10
10
|
end
|
11
11
|
|
12
|
+
def create_group(
|
13
|
+
name:,
|
14
|
+
group_type_id:,
|
15
|
+
campus_id: nil,
|
16
|
+
foreign_key: nil,
|
17
|
+
foreign_id: nil
|
18
|
+
)
|
19
|
+
options = {
|
20
|
+
'Name' => name,
|
21
|
+
'GroupTypeId' => group_type_id,
|
22
|
+
'CampusId' => campus_id,
|
23
|
+
'ForeignKey' => foreign_key,
|
24
|
+
'ForeignId' => foreign_id
|
25
|
+
}
|
26
|
+
|
27
|
+
post(group_path, options)
|
28
|
+
end
|
29
|
+
|
12
30
|
def list_groups_for_person(person_id, options = {})
|
13
31
|
opts = options.dup
|
14
32
|
opts['$filter'] = Array(opts['$filter'])
|
@@ -5,10 +5,16 @@ module RockRMS
|
|
5
5
|
Response::PhoneNumber.format(get(phone_number_path, options))
|
6
6
|
end
|
7
7
|
|
8
|
-
def create_phone_number(
|
8
|
+
def create_phone_number(
|
9
|
+
number_type_value_id:,
|
10
|
+
number:,
|
11
|
+
person_id:,
|
12
|
+
is_system: true,
|
13
|
+
is_messaging_enabled: false
|
14
|
+
)
|
9
15
|
options = {
|
10
|
-
'IsSystem' =>
|
11
|
-
'IsMessagingEnabled' =>
|
16
|
+
'IsSystem' => is_system,
|
17
|
+
'IsMessagingEnabled' => is_messaging_enabled,
|
12
18
|
'NumberTypeValueId' => number_type_value_id,
|
13
19
|
'Number' => number,
|
14
20
|
'PersonId' => person_id
|
@@ -10,6 +10,7 @@ module RockRMS
|
|
10
10
|
last_name: 'LastName',
|
11
11
|
giving_id: 'GivingId',
|
12
12
|
giving_group_id: 'GivingGroupId',
|
13
|
+
graduation_year: 'GraduationYear',
|
13
14
|
alias_id: 'PrimaryAliasId',
|
14
15
|
connection_status_value_id: 'ConnectionStatusValueId',
|
15
16
|
record_type_value_id: 'RecordTypeValueId',
|
data/lib/rock_rms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|