tessitura_rest 2.1.1 → 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: 22d9bf70aa7732f39ce16e644ba3ab0ff843051cd19a8b92058e873b47db4029
4
- data.tar.gz: 76d5040a8d72701ec1b071731a5bec4cf3bb78cbd21008f05cee5ee784482f15
3
+ metadata.gz: a97759f227b264039a26fecdf6f182286cb884ebdc5ef1b8835fff16e72b5b68
4
+ data.tar.gz: 8934ed66a33556b05fc059efe8a377f7751fe173df0e68627d2445a4d760e927
5
5
  SHA512:
6
- metadata.gz: 3b2dd6dc7386c104540a05c66cd1c8cfcead14bb31c62043255275f1f253dbf5703224fa041673d9bcdd1e446e00aaa773db8b32ebb8314d34941bb61787ff0a
7
- data.tar.gz: f53d6a1c3565694a8a95b9280925382395b81eb99103cea65292f60cdab847ee60635c2d7ec5a6f3a0b2c7cfe017fe53add3b00d9cf47d9fd14e97c2fca2f6bc
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)
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '2.1.1'.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.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-10-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