Class: OmniAuth::Strategies::BisXmlGetLogonStatus
- Inherits:
-
ERB
- Object
- ERB
- OmniAuth::Strategies::BisXmlGetLogonStatus
- Defined in:
- lib/omniauth-nwbbis.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(logon_id, options = {}) ⇒ BisXmlGetLogonStatus
constructor
A new instance of BisXmlGetLogonStatus.
- #result ⇒ Object
Constructor Details
#initialize(logon_id, options = {}) ⇒ BisXmlGetLogonStatus
Returns a new instance of BisXmlGetLogonStatus.
222 223 224 225 226 227 |
# File 'lib/omniauth-nwbbis.rb', line 222 def initialize(logon_id, = {}) @logon_id = logon_id @template = .fetch(:template, self.class.template) super(@template) end |
Class Method Details
.template ⇒ Object
214 215 216 217 218 219 220 |
# File 'lib/omniauth-nwbbis.rb', line 214 def self.template %{ <GibLogonStatus xmlns="http://tempuri.org/"> <guid><%= @logon_id %></guid> </GibLogonStatus> } end |
Instance Method Details
#result ⇒ Object
229 230 231 |
# File 'lib/omniauth-nwbbis.rb', line 229 def result super(binding) end |