class Xenon::Headers::WWWAuthenticate
Public Class Methods
new(*challenges)
click to toggle source
Calls superclass method
# File lib/xenon/headers/www_authenticate.rb, line 38 def initialize(*challenges) super(challenges) end
parse(s)
click to toggle source
# File lib/xenon/headers/www_authenticate.rb, line 44 def self.parse(s) tree = Parsers::WWWAuthenticateHeader.new.parse(s) Parsers::WWWAuthenticateHeaderTransform.new.apply(tree) end
Public Instance Methods
to_s()
click to toggle source
# File lib/xenon/headers/www_authenticate.rb, line 49 def to_s challenges.map(&:to_s).join(', ') end