tessitura_rest 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +8 -0
- data/lib/tessitura_rest/version.rb +1 -1
- data/lib/tessitura_rest/web/cart.rb +5 -0
- data/lib/tessitura_rest/web/registration.rb +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cdd0d5adc67f9c68b508adf39b49cec2ec71868eb0ef5633205fadfa8b45262
|
4
|
+
data.tar.gz: ee02aa086e1e479df36baccc539763c3a69df96f00bd3993141585bd0faf4afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9464e333ecfa2ee5cef2107222b4cfdd5c87554212ffc1033879f701791c6b07227de8be355caf6e7833dcd47a526bc20e60923b7a1e576d06b35f4aadcfdf22
|
7
|
+
data.tar.gz: 59a6b8d9c468050f0d70046fca94d1b2672d7b211251522af3c1a18e2035aed3bdc85858b2c55ba637d21e092d0cbc323fc2d640f263452172d3ec3816ccc558
|
@@ -5,6 +5,11 @@ module Cart
|
|
5
5
|
self.class.get(base_api_endpoint("Web/Cart/#{session_key}"), options)
|
6
6
|
end
|
7
7
|
|
8
|
+
def get_checkout_complete(session_key, options={})
|
9
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
10
|
+
self.class.get(base_api_endpoint("Web/Cart/#{session_key}&savedCart=true"), options)
|
11
|
+
end
|
12
|
+
|
8
13
|
def empty_cart(session_key, options={})
|
9
14
|
options.merge!(basic_auth: @auth, headers: @headers)
|
10
15
|
self.class.delete(base_api_endpoint("Web/Cart/#{session_key}"), options)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Registration
|
2
2
|
|
3
|
-
def register_user(session_key, address, first_name, last_name, email, password, special_offer, phone, options={})
|
3
|
+
def register_user(session_key, address, first_name, last_name, email, password, promotion, special_offer, phone, options={})
|
4
4
|
parameters =
|
5
5
|
{
|
6
6
|
'FirstName': first_name,
|
@@ -25,6 +25,7 @@ module Registration
|
|
25
25
|
},
|
26
26
|
'ConstituentTypeId': 1,
|
27
27
|
'OriginalSourceId': 3,
|
28
|
+
'SourceId': promotion,
|
28
29
|
'Phones':
|
29
30
|
[
|
30
31
|
{
|
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.
|
4
|
+
version: 0.8.9
|
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: 2021-
|
11
|
+
date: 2021-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -118,6 +118,7 @@ extra_rdoc_files: []
|
|
118
118
|
files:
|
119
119
|
- ".codeclimate.yml"
|
120
120
|
- ".env.enc"
|
121
|
+
- ".github/dependabot.yml"
|
121
122
|
- ".gitignore"
|
122
123
|
- ".rspec"
|
123
124
|
- ".rubocop.yml"
|
@@ -185,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
186
|
- !ruby/object:Gem::Version
|
186
187
|
version: '0'
|
187
188
|
requirements: []
|
188
|
-
rubygems_version: 3.0.
|
189
|
+
rubygems_version: 3.0.3
|
189
190
|
signing_key:
|
190
191
|
specification_version: 4
|
191
192
|
summary: Rest API Endpoint for the Tessitura Rest API (v14+).
|