class SAML::Metadata::Endpoint

Attributes

binding[R]
location[R]
response_location[R]

Public Class Methods

from_xml(xml) click to toggle source
# File lib/saml/metadata/endpoint.rb, line 11
def self.from_xml(xml); new.from_xml(xml); end

Public Instance Methods

from_xml(xml) click to toggle source
# File lib/saml/metadata/endpoint.rb, line 13
def from_xml(xml)
  @binding  = xml.attributes['Binding']
  @location = URI(xml.attributes['Location'])
  @response_location = xml.attributes['ResponseLocation'] && URI(xml.attributes['ResponseLocation'])
  self
end