tessitura_rest 0.6.2 → 0.6.3

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: 36f4426c45903fbed416fb711d029e1784fe10f327cdf726360ab504863f7efd
4
- data.tar.gz: c7743223747724b2467923f1a96e8424e876bf8960a45fb5d0f93bc590968a37
3
+ metadata.gz: 7239ac63fd5ea2459d26841cba74221de7f013e635e00db2478c535b9cc85531
4
+ data.tar.gz: 00cdbe05d03912367b86a2aae70995ef5a422c502a255c2abbaf54946d6af378
5
5
  SHA512:
6
- metadata.gz: 508fd8045a799dd4d9cf15d9a11dfb343b96c90a3e11004fd49e16c0e491037245671be1cabcdea98a34c75c56225038da7c809cb383910c5be69dac51587fdc
7
- data.tar.gz: 2443f98bc513bc4b61d146a1e6c0ab20e868cbb05eaa82e6b0873e991c1284d76581e9f1d1ca18ee5449190bc4eaa6878c6a5f2325cbf7730b3f6bb110e833d1
6
+ metadata.gz: bd0fe8dc368d3595c366fe977da6c21784dd5e8af6fda3779fc2190c3b221a69250818b679ee828351deefb71eaee3a5d06112ec44cc99a768f7b6e1a96e8b25
7
+ data.tar.gz: 3885207317af26ed97bf5b1f338bf5ae18dc3eefbcca5c71fcd087f85e26e12817e85fa0e8a59e0436f8d194c64511455969dff522d490309f9e9f5cf03e0492
@@ -6,12 +6,9 @@ module Addresses
6
6
  JSON.parse(response.body)
7
7
  end
8
8
 
9
- def get_all_addresses(constituent_id, inactive=false, include_affiliate=false, primary_only=false, include_from_affiliations=false, options={})
9
+ def get_all_addresses(constituent_id, options={})
10
10
  options.merge!(basic_auth: @auth, headers: @headers)
11
- response = self.class.get(base_api_endpoint("CRM/Addresses?constituentId=#{constituent_id}&
12
- includeInactive=#{inactive}&includeAffiliates=#{include_affiliate}
13
- &primaryOnly=#{primary_only}&includeFromAffiliations=
14
- #{include_from_affiliations}"), options)
11
+ response = self.class.get(base_api_endpoint("CRM/Addresses?constituentId=#{constituent_id}"), options)
15
12
  JSON.parse(response.body)
16
13
  end
17
14
 
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
@@ -70,4 +70,10 @@ module Session
70
70
  options.merge!(:body => parameters)
71
71
  self.class.post(base_api_endpoint("/Web/Session/#{key}/Login/SendCredentials"), options)
72
72
  end
73
+
74
+ def get_shipping_methods(key, options={})
75
+ options.merge!(basic_auth: @auth, headers: @headers)
76
+ response = self.class.get(base_api_endpoint("Web/Session/#{key}/DeliveryMethods"), options)
77
+ JSON.parse(response.body)
78
+ end
73
79
  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.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler