tessitura_rest 2.1.0 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tessitura_rest/crm/phones.rb +7 -0
- data/lib/tessitura_rest/custom/email.rb +1 -1
- data/lib/tessitura_rest/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: a97759f227b264039a26fecdf6f182286cb884ebdc5ef1b8835fff16e72b5b68
|
4
|
+
data.tar.gz: 8934ed66a33556b05fc059efe8a377f7751fe173df0e68627d2445a4d760e927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17ecec490598e15c6d5df8dc6f589bbd61218a542adb66240215246fce6208223d2e248dad45c94b6f93fef602490844adfdf18dd2e838aeb6f717cd662c6fa5
|
7
|
+
data.tar.gz: f1d0cff35e4bfb07407f308371ac793c48c6da0021d79f27327a1042acbd60ab159caef9409557e58a7944f0e33668ad237a7a695b770b707dc2f4bd85ff9ece
|
@@ -27,6 +27,11 @@ module Phones
|
|
27
27
|
JSON.parse(response.body)
|
28
28
|
end
|
29
29
|
|
30
|
+
def delete_phone(id, options = {})
|
31
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
32
|
+
self.class.delete(base_api_endpoint("CRM/Phones/#{id}"), options)
|
33
|
+
end
|
34
|
+
|
30
35
|
def update_phone(id, phone, options = {})
|
31
36
|
current = get_phone(id)
|
32
37
|
parameters =
|
@@ -40,6 +45,8 @@ module Phones
|
|
40
45
|
'Id': current['Id'],
|
41
46
|
'PhoneNumber': phone,
|
42
47
|
'UpdatedDateTime': current['UpdatedDateTime'],
|
48
|
+
'IsMobile': true,
|
49
|
+
'PrimaryIndicator': true
|
43
50
|
}
|
44
51
|
options.merge!(basic_auth: @auth, headers: @headers)
|
45
52
|
options.merge!(:body => parameters.to_json)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tessitura_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|