class SAML2::Endpoint
Attributes
binding[R]
@return [String]
location[R]
@return [String]
Public Class Methods
new(location = nil, binding = Bindings::HTTP_POST::URN)
click to toggle source
@param location [String] @param binding [String]
Calls superclass method
SAML2::Base::new
# File lib/saml2/endpoint.rb, line 12 def initialize(location = nil, binding = Bindings::HTTP_POST::URN) super() @location = location @binding = binding end
Public Instance Methods
==(other)
click to toggle source
@param rhs [Endpoint] @return [Boolean]
# File lib/saml2/endpoint.rb, line 20 def ==(other) location == other.location && binding == other.binding end
build(builder, element)
click to toggle source
(see Base#build
)
# File lib/saml2/endpoint.rb, line 32 def build(builder, element) builder["md"].__send__(element, "Location" => location, "Binding" => binding) end
from_xml(node)
click to toggle source
(see Base#from_xml
)
Calls superclass method
SAML2::Base::from_xml
# File lib/saml2/endpoint.rb, line 25 def from_xml(node) super @location = node["Location"] @binding = node["Binding"] end