tessitura_rest 0.3.11 → 0.3.12

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: 6f3af3b09f98cefc023e6f60bb3caaff9efae1f1d70de7c47033e8e300ced533
4
- data.tar.gz: 205515829b1533b33a0520c8628cf5185a3d1bac4bbe1918ad2bec5a51f77b52
3
+ metadata.gz: 823f670d34aea89bc0380bed99fb874283a4ce504e880585f49da2414c669c2d
4
+ data.tar.gz: 944d34090568994cebb07ae6a735bf8e5f57cfbc8794711a493f3b032334197c
5
5
  SHA512:
6
- metadata.gz: b1d068ba381bfab9795c06bfcadef824b642b67597338bae3e1d93ecfb36828450f9a07feb2ff8e5850ef1c7d5d3fbbdb0267b6e37217cc0815994213201b5c1
7
- data.tar.gz: 1feaff2aa59c1f8d8a5faf1ed13d96c6d80abe8f06537a5c4580b437b391fb9b9cbad8d7420d6773a8259b9d377f9dd1a023cbd9b28a36c08506fdc3935176ad
6
+ metadata.gz: 48964c24cff2cf9071561de693091bf8b6e6b72bb06ea53c8bcde17530fec44e098500730ceaf76fc443a5c37c168c5f2dd7844d2e132b6ce4652a88ad80a589
7
+ data.tar.gz: 4c40a2fddab69d741951638f69dda7865606491be6b911c13ef9a9e1dab6b1081348246db771df8425ecb697a51d2a6388882d7a5f7a65f9f6566899511e0a3b
@@ -1,17 +1,16 @@
1
1
  module Email
2
2
 
3
- def send_login_credentials(template_id, email, profile_id, params = '', options={})
3
+ def send_login_credentials(session_key, email, login_type_id, template_id, params = '', options={})
4
4
  login_id = get_web_login(email, 1)
5
5
  return false if login_id.empty?
6
6
  parameters =
7
7
  {
8
- 'TemplateId': template_id,
9
8
  'EmailAddress': email,
10
- 'EmailProfileId': profile_id
9
+ 'LoginTypeId': login_type_id,
10
+ 'TemplateFormatId': template_id
11
11
  }
12
12
  options.merge!({:basic_auth => @auth})
13
13
  options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
14
- post = self.class.post(base_api_endpoint("Emails/LoginCredentials/#{login_id.first['Id']}/Send"), options)
15
- post.success?
14
+ self.class.post(base_api_endpoint("Web/Session/#{session_key}/Login/SendCredentials"), options)
16
15
  end
17
16
  end
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
  end
Binary file
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.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-23 00:00:00.000000000 Z
11
+ date: 2019-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,6 +156,7 @@ files:
156
156
  - lib/tessitura_rest/web/login.rb
157
157
  - lib/tessitura_rest/web/payment_plan_extension.rb
158
158
  - lib/tessitura_rest/web/session.rb
159
+ - tessitura_rest-0.3.11.gem
159
160
  - tessitura_rest.gemspec
160
161
  homepage: https://github.com/pgharts/tessitura
161
162
  licenses: