Class: OmniAuth::Strategies::BisXmlDecryptLogonId
- Inherits:
-
ERB
- Object
- ERB
- OmniAuth::Strategies::BisXmlDecryptLogonId
- Defined in:
- lib/omniauth-nwbbis.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(logon_id, options = {}) ⇒ BisXmlDecryptLogonId
constructor
A new instance of BisXmlDecryptLogonId.
- #result ⇒ Object
Constructor Details
#initialize(logon_id, options = {}) ⇒ BisXmlDecryptLogonId
Returns a new instance of BisXmlDecryptLogonId.
245 246 247 248 249 250 |
# File 'lib/omniauth-nwbbis.rb', line 245 def initialize(logon_id, = {}) @logon_id = logon_id @template = .fetch(:template, self.class.template) super(@template) end |
Class Method Details
.template ⇒ Object
236 237 238 239 240 241 242 243 |
# File 'lib/omniauth-nwbbis.rb', line 236 def self.template %{ <EntschluesselLogonID xmlns="http://tempuri.org/"> <sender>bis</sender> <data><%= @logon_id %></data> </EntschluesselLogonID> } end |
Instance Method Details
#result ⇒ Object
252 253 254 |
# File 'lib/omniauth-nwbbis.rb', line 252 def result super(binding) end |