module SamlIdp::Hashable
Public Instance Methods
hashables()
click to toggle source
# File lib/saml_idp/hashable.rb, line 5 def hashables self.class.hashables end
to_h()
click to toggle source
# File lib/saml_idp/hashable.rb, line 9 def to_h hashables.reduce({}) do |hash, key| hash[key.to_sym] = send(key) hash end end