rock_rms 5.15.0 → 5.16.0

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: 38a5f0a7bc780afd9b9b3115d567198b1d44314f3d66ba51ec3d8102ea8a1b89
4
- data.tar.gz: d741e1c8f38e8a58f32155932cc2f0e6b385b66d34fe44b58e270b77019246ca
3
+ metadata.gz: 4d0a0e39eb6d9110441554494776848001292e154c9d8292fc9d9630735320b7
4
+ data.tar.gz: f35d764bd6269201cfeb03959483dc0c6394c95fd5f0bb3f2390869d5db731dc
5
5
  SHA512:
6
- metadata.gz: c8d6f9707b40172016072805389d42a675e6ea250be0d8dc0bb9db9a202ef0192a78aec34af59789dddc2e45391c79a3cce6de2f06e0b03210940eac4e536ff2
7
- data.tar.gz: 3bb11888fde235dacff1b9fa590217186fbacb4aca7579de2f7c055114d8fb4160e8ef16e2138e2654809733ab72b91f164b6ccc911dfa7bd4a1c8c6243afab5
6
+ metadata.gz: cdbb6ec3dcfcba4d57c9f5dc517fb82d65f3f8e7b7e5d95e8c0d41814b916cc079a1796737c0295ecd26f97fcfdb8adbb839642de5fbf1ff88997cb62701f2d3
7
+ data.tar.gz: bbb22c3d624928f5b157bcce8a0e5207b1f36e14b52bc9d1b897dd471cadaa45eba98f4acc57e3af1946e9c826fb938d62161d886a085c43dc8cd4f05a79f8af
@@ -35,7 +35,7 @@ module RockRMS
35
35
  )
36
36
  end
37
37
 
38
- def create_person(first_name:, last_name:, email:, connection_status_value_id: nil, record_status_value_id: nil)
38
+ def create_person(first_name:, last_name:, email:, connection_status_value_id: nil, record_status_value_id: nil, record_type_value_id: 1)
39
39
  options = {
40
40
  'IsSystem' => false,
41
41
  'FirstName' => first_name,
@@ -43,8 +43,13 @@ module RockRMS
43
43
  'Email' => email,
44
44
  'Gender' => 1,
45
45
  'ConnectionStatusValueId' => connection_status_value_id,
46
- 'RecordStatusValueId' => record_status_value_id
46
+ 'RecordStatusValueId' => record_status_value_id,
47
+ 'RecordTypeValueId' => record_type_value_id,
47
48
  }
49
+
50
+ # RecordTypeValueId 1 = Person
51
+ # RecordTypeValueId 2 = Business
52
+
48
53
  post(people_path, options)
49
54
  end
50
55
 
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '5.15.0'.freeze
2
+ VERSION = '5.16.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.15.0
4
+ version: 5.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks