tessitura_rest 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 599894a378925853cb681076553d16726048ef0dac2dd61a8ff4bd72be78b058
4
- data.tar.gz: 05ff980e050b8dfd76d05c0e83310dce43ed77129aba79d0772665d600868268
3
+ metadata.gz: 45cffcb1a334766eebd38a9f224faacf7340895585f74d4b4acc3c62245a90f1
4
+ data.tar.gz: 28d8fa018e555a8ae55c47458b83118f56354d9bf5512b7610629976d2890fc1
5
5
  SHA512:
6
- metadata.gz: 2605c2be1543c30d20679d1bf465e17f59458c7025f011ffb86ebc460c19177ae0c83a875f644bb3cf0e30e5eaa995719906d6871943c1e700aca1077a53f1cd
7
- data.tar.gz: d0d4a73c21ad9818ae68cf546a0a116110fa38680e781cfeb4aba576ba20d3b4b652ec8ba932e8c69e38b16a0131564af52888ce0dc0184785d859cb572b162e
6
+ metadata.gz: 395a33fb5c9266370b7ce9a669904dd1d97602cd9f10d825d6c4b830441975bbf8305ec2acc262f83b8384065ad51ee68cae09fb8b9e30eb21101f2a471210fd
7
+ data.tar.gz: 388503522387d0774637898e8e1fded14a0ea74ee88849dbe6ce57d60a4f55a8e0b17b3eb8ec9686d2ea6f4c4db1ec8e582067d9db3589e8853763a096487df5
@@ -0,0 +1,6 @@
1
+ module Campaigns
2
+ def get_campaign_by_fund_id(fund, options = {})
3
+ options.merge!(basic_auth: @auth, headers: @headers)
4
+ self.class.get(base_api_endpoint("Finance/CampaignFunds?fundId=#{fund}&asOfDateTime=#{DateTime.now}"), options)
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '2.0.5'.freeze
2
+ VERSION = '2.0.7'.freeze
3
3
  end
@@ -310,7 +310,7 @@ module Cart
310
310
  self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Checkout"), options)
311
311
  end
312
312
 
313
- def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_reference, authorize, options = {})
313
+ def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_id, payment_reference, authorize, options = {})
314
314
  parameters =
315
315
  {
316
316
  'CreditCardType': payment_method_id,
@@ -319,6 +319,7 @@ module Cart
319
319
  'Authorize': authorize,
320
320
  'ECommerce': true,
321
321
  'AuthorizationCode': order_authorization_code,
322
+ 'PaymentId': payment_id,
322
323
  'PaymentReference': payment_reference
323
324
  }
324
325
  options.merge!(basic_auth: @auth, headers: @headers)
@@ -15,6 +15,7 @@ class TessituraRest
15
15
  include Constituencies
16
16
  include Constituents
17
17
  include Countries
18
+ include Campaigns
18
19
  include Diagnostics
19
20
  include Email
20
21
  include GiftCertificates
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.0.5
4
+ version: 2.0.7
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-07-24 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -143,6 +143,7 @@ files:
143
143
  - lib/tessitura_rest/custom/local_procedure.rb
144
144
  - lib/tessitura_rest/diagnostics/diagnostics.rb
145
145
  - lib/tessitura_rest/finance/appeals.rb
146
+ - lib/tessitura_rest/finance/campaigns.rb
146
147
  - lib/tessitura_rest/finance/gift_certificates.rb
147
148
  - lib/tessitura_rest/payment_gateway/payment_component.rb
148
149
  - lib/tessitura_rest/payment_gateway/payment_gateway.rb