Class: OmniAuth::Strategies::BisXmlGetLogonStatus

Inherits:
ERB
  • Object
show all
Defined in:
lib/omniauth-nwbbis.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logon_id, options = {}) ⇒ BisXmlGetLogonStatus



223
224
225
226
227
228
# File 'lib/omniauth-nwbbis.rb', line 223

def initialize(logon_id, options = {})
    @logon_id = logon_id
    @template = options.fetch(:template, self.class.template)

    super(@template)
end

Class Method Details

.templateObject



215
216
217
218
219
220
221
# File 'lib/omniauth-nwbbis.rb', line 215

def self.template
    %{
        <GibLogonStatus xmlns="http://tempuri.org/">
          <guid><%= @logon_id %></guid>
        </GibLogonStatus>
    }
end

Instance Method Details

#resultObject



230
231
232
# File 'lib/omniauth-nwbbis.rb', line 230

def result
    super(binding)
end