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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57ec0bcb60541ef48a139d695fc9bb4c410691f8b025893735f98c8fd61115d5
4
- data.tar.gz: 5226fe40776a0485fc2aeae9a37d31bb721023604c8da5dc39c31977774daab0
3
+ metadata.gz: a97759f227b264039a26fecdf6f182286cb884ebdc5ef1b8835fff16e72b5b68
4
+ data.tar.gz: 8934ed66a33556b05fc059efe8a377f7751fe173df0e68627d2445a4d760e927
5
5
  SHA512:
6
- metadata.gz: 3d36b5265f1011093b34fcda7df6445090c8740c8191ea8cc0ad75b31ca98f6029edd005914fe66f5b859d6c5e07f923fafd568d6abb51e90ba25f411189ddb5
7
- data.tar.gz: cc5164d1cbfafa61cd439aa880b5d7da4da3a9ff4270f089931e6fd993b657862d017628087c0912ebb107feb86294ef400a0d7db52ebb85c65c87f25ed21487
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)
@@ -35,7 +35,7 @@ module Email
35
35
  'HtmlBody': body,
36
36
  'FromAddress': sender,
37
37
  'Subject': subject,
38
- 'EmailProfileId': 2,
38
+ 'EmailProfileId': 7,
39
39
  }
40
40
  options.merge!(basic_auth: @auth, headers: @headers)
41
41
  options.merge!(:body => parameters.to_json)
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.2'.freeze
3
3
  end
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.0
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-09-04 00:00:00.000000000 Z
11
+ date: 2024-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler