Module: Saml::Kit::Translatable
Instance Method Summary collapse
Instance Method Details
#error_message(attribute, type: :invalid) ⇒ Object
4 5 6 |
# File 'lib/saml/kit/translatable.rb', line 4 def (attribute, type: :invalid) I18n.translate(attribute, scope: "saml/kit.errors.#{name}") end |