Class: SpRailsSaml::Metadata
- Inherits:
-
Object
- Object
- SpRailsSaml::Metadata
- Includes:
- ActionDispatch::Routing, ActionView::Helpers
- Defined in:
- lib/sp-rails-saml/metadata.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(account:) ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(account:) ⇒ Metadata
Returns a new instance of Metadata.
11 12 13 |
# File 'lib/sp-rails-saml/metadata.rb', line 11 def initialize(account:) @account = account end |
Instance Method Details
#generate ⇒ Object
15 16 17 18 |
# File 'lib/sp-rails-saml/metadata.rb', line 15 def generate = OneLogin::RubySaml::Metadata.new .generate(ruby_saml_settings) end |