rock_rms 6.0.8 → 6.1.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: 281809a16889264042ae567d225929e212fef4ab98eaa240498e262603b18828
4
- data.tar.gz: e1208d3da16704766b4707db5a6c69895ee45d9ca87b915b12711ad9c88ec8fa
3
+ metadata.gz: 50017d792afc7f4304715fe75cb68760b009877d27ea8331eaab91286b88095a
4
+ data.tar.gz: d1aa86a4092b9f6fa44bc2cf0ae85f8dda656432b4a901f7254f231b1b131995
5
5
  SHA512:
6
- metadata.gz: 02f11de776f0c06c6efd3b7d9789a70b7c0c3a68c612184489a12320b08de52cd94222614ad6f33a764c73089327f7f2520fdf847d39f9d3b057f99cac9f144b
7
- data.tar.gz: b30814b7f958bdb0e0cb8437f2a60bd36179715667309105b085ba8077176f7d086020869a4e587997ce77e14085a0acd352d5600897be2bd2b30bfba23fa15d
6
+ metadata.gz: 59a28cb036b889eff884c4c2f3fb777a2977929019098c9ebc344cf1505e3df2901771b49690a165336bcc2696d997e6891eb6d0aadb3f4132b0f204c4f229ff
7
+ data.tar.gz: bfd0035a62b2a89211f7d50f1a312b70423814da3c29d551b50e7b1e74117445a7e36e150c1680fae2946d451c0f45bc9d783a4b8d9f7085fe5376e4a95b5dca
@@ -53,6 +53,22 @@ module RockRMS
53
53
  post(people_path, options)
54
54
  end
55
55
 
56
+ def create_business(name:, email:, connection_status_value_id: nil, record_status_value_id: nil, record_type_value_id: 2)
57
+ options = {
58
+ 'IsSystem' => false,
59
+ 'LastName' => name,
60
+ 'Email' => email,
61
+ 'Gender' => 1,
62
+ 'ConnectionStatusValueId' => connection_status_value_id,
63
+ 'RecordStatusValueId' => record_status_value_id,
64
+ 'RecordTypeValueId' => record_type_value_id,
65
+ }
66
+
67
+ # RecordTypeValueId 2 = Business
68
+
69
+ post(people_path, options)
70
+ end
71
+
56
72
  def update_person(id, options = {})
57
73
  put(people_path(id), options)
58
74
  end
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '6.0.8'.freeze
2
+ VERSION = '6.1.0'.freeze
3
3
  end
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: 6.0.8
4
+ version: 6.1.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: 2022-07-12 00:00:00.000000000 Z
11
+ date: 2022-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday