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 +4 -4
- data/lib/tessitura_rest/crm/accounts.rb +7 -0
- 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: a68b5441736a39621d4bb5f66e7fe1fb07dc635cf3c0bcc79a96847651a560d4
|
4
|
+
data.tar.gz: 2c429a6aa7f2325540271541616b420aeda715e4456b7f8299c7160f726332cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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.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-
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|