Class: Saml::Kit::Document
- Inherits:
-
Object
- Object
- Saml::Kit::Document
- Defined in:
- lib/saml/kit/core_ext/document.rb
Constant Summary collapse
- TABLE =
{ 'ID' => ->(x) { x.id }, 'Issuer' => ->(x) { x.issuer }, 'Version' => ->(x) { x.version }, 'Issue Instant' => ->(x) { x.issue_instant.iso8601 }, 'Type' => ->(x) { x.name }, 'Valid' => ->(x) { x.valid? }, 'Signed?' => ->(x) { x.signed? }, 'Trusted?' => ->(x) { x.trusted? }, }.freeze
Instance Method Summary collapse
Instance Method Details
#build_table(table = []) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/saml/kit/core_ext/document.rb', line 17 def build_table(table = []) TABLE.each do |key, callable| table.push([key, callable.call(self)]) end signature.build_table(table) end |