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.
244 245 246 247 248 249 |
# File 'lib/omniauth-nwbbis.rb', line 244 def initialize(logon_id, = {}) @logon_id = logon_id @template = .fetch(:template, self.class.template) super(@template) end |
Class Method Details
.template ⇒ Object
235 236 237 238 239 240 241 242 |
# File 'lib/omniauth-nwbbis.rb', line 235 def self.template %{ <EntschluesselLogonID xmlns="http://tempuri.org/"> <sender>bis</sender> <data><%= @logon_id %></data> </EntschluesselLogonID> } end |
Instance Method Details
#result ⇒ Object
251 252 253 |
# File 'lib/omniauth-nwbbis.rb', line 251 def result super(binding) end |