tessitura_rest 2.1.3 → 2.1.4

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: 56820ea247865ce99d4195be09681b7e1646e8435a2acae2af1d516eb0a4999d
4
- data.tar.gz: e80b9495594f4368c967c6e212f4a222a980e11d6783d5d4485f02ba2208c866
3
+ metadata.gz: a68b5441736a39621d4bb5f66e7fe1fb07dc635cf3c0bcc79a96847651a560d4
4
+ data.tar.gz: 2c429a6aa7f2325540271541616b420aeda715e4456b7f8299c7160f726332cd
5
5
  SHA512:
6
- metadata.gz: e982f422f12b608c515a8555e9ea6a82ddfd2d9e3dfe80d34897b9d50e55e853c1ac751d9355cdef4abde37bb7cb29c193565e999cc6acc1580f2268ba025c8b
7
- data.tar.gz: 538c0d8df51bd92ea834a9d440a62d4cbcb100925a4514cd3569b12a42b8c6d3be7b2a9bbbd6cb5fcadb2d604958508d91dc78bd63f2743b25c7a2bbd00d7075
6
+ metadata.gz: d5ff7f2dac5c5be8d31a3eaa184f502c0de650d03498187157fa5b781a2c8751318d8cc6a3503db8deba23801ad3ca42dcd8c961abb4f76a552d70cd595e0b54
7
+ data.tar.gz: bc6ebcb190f141913adaf8295a420248216c396ba9fc6d74dc30752e4e58f8a1137a952ff5706705610d621e3c0666c1f1729fd57bd613cbfef144b90facf6f7
@@ -1,4 +1,11 @@
1
1
  module Accounts
2
+ def delete_account(account_id, transaction_origin = 'webapi', override_delete_protection = false, options = {})
3
+ options.merge!(basic_auth: @auth, headers: @headers)
4
+ self.class.delete(
5
+ base_api_endpoint("CRM/Accounts/#{account_id}?transactionOrigin=#{transaction_origin}&overrideDeleteProtection=#{override_delete_protection}"), options
6
+ )
7
+ end
8
+
2
9
  def get_all_accounts(constituent_id, inactive = false, include_affiliate = false, options = {})
3
10
  options.merge!(basic_auth: @auth, headers: @headers)
4
11
  response = self.class.get(
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '2.1.3'.freeze
2
+ VERSION = '2.1.4'.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.3
4
+ version: 2.1.4
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-18 00:00:00.000000000 Z
11
+ date: 2024-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler