lib/maestrano/saml/request.rb in maestrano-0.11.0 vs lib/maestrano/saml/request.rb in maestrano-0.12.0

- old
+ new

@@ -5,15 +5,16 @@ require "rexml/document" require "rexml/xpath" module Maestrano module Saml - include REXML + include REXML class Request + include Preset attr_accessor :settings, :params, :session - + def initialize(params = {}, session = {}) - self.settings = Maestrano::SSO.saml_settings + self.settings = Maestrano::SSO[self.class.preset].saml_settings self.params = params self.session = session end def redirect_url