tessitura_rest 0.8.6.1 → 0.8.6.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: 3c0e41bcfb196645015381ae137c284ec58f6f84d493f13043faac2c30bd710e
4
- data.tar.gz: ec46fa48f3a9baf514a293366c50cbca34bfbb872e73a15e5cb690ab82990129
3
+ metadata.gz: 2264bcb49183e8476126ae4c6280b1024e0031da17678ffb1366d04f486c1119
4
+ data.tar.gz: 4578df4190cfe53b4e8aa5924d863f0f1237118c7d18c92177285e0c1adb6795
5
5
  SHA512:
6
- metadata.gz: 1629aff07a5055026d383f55d654f2826341872e5df0816cdf09487fa15796e08678c4eb98ac6ba3badfec520983f2c0f0551c1035ad01529747391a47214d85
7
- data.tar.gz: a02a8671ef120a3388e238a31e5031a2fbdf4045e2124242ffd936a92167f5b648b5758482b1cf358276fdbe106b9cdc17c9b407292b8540f66a8cae9abf394e
6
+ metadata.gz: 0c54cce840cf7df4f5a7952bbf9ac51a37f8cc360bb9de067eae2ad410e4f7f58fa5cd8b2106e39b2e3fa239eb015edcda454c1c717100e204ff336bd386d96d
7
+ data.tar.gz: f33f8916687d69dc35b0a06d3c1a48fc7aca211aad8eaf88d8dc56aa424bc7a706a6a75d6ad8f5f7261c2f98ade49e7cf5be93349b5ebfd1fc3755d5ce1613b6
@@ -90,8 +90,10 @@ module Constituents
90
90
  "Inactive": false
91
91
  },
92
92
  }
93
+ parameters.delete(:Prefix) unless params[:prefix].present?
94
+ parameters.delete(:Suffix) unless params[:suffix].present?
93
95
  options.merge!(basic_auth: @auth, headers: @headers)
94
- options.merge!(:body => parameters)
96
+ options.merge!(:body => parameters.to_json, :headers => { 'Content-Type' => 'application/json' })
95
97
  self.class.put(base_api_endpoint("CRM/Constituents/#{constituent_id}"), options)
96
98
  end
97
99
  end
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '0.8.6.1'
2
+ VERSION = '0.8.6.2'
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: 0.8.6.1
4
+ version: 0.8.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler