lib/tessitura_rest/web/session.rb in tessitura_rest-2.0.0 vs lib/tessitura_rest/web/session.rb in tessitura_rest-2.0.1
- old
+ new
@@ -93,11 +93,11 @@
'LoginTypeId': login_type,
'EmailAddress': email,
}
options.merge!(basic_auth: @auth, headers: @headers)
options.merge!(:body => parameters.to_json)
- self.class.post(base_api_endpoint("/Web/Session/#{key}/Login/SendCredentials"), options)
+ self.class.post(base_api_endpoint("Web/Session/#{key}/Login/SendCredentials"), options)
end
def send_credentials_v16(key, email, login_type, template_id, options = {})
parameters =
{
@@ -106,10 +106,10 @@
'EmailAddress': email,
'IsPriority': true,
}
options.merge!(basic_auth: @auth, headers: @headers)
options.merge!(:body => parameters.to_json)
- self.class.post(base_api_endpoint("/Web/Session/#{key}/Login/SendCredentials"), options)
+ self.class.post(base_api_endpoint("Web/Session/#{key}/Login/SendCredentials"), options)
end
def update_login(key, user_name, old_password, new_password, email, new_email, options = {})
parameters =
{