Sha256: 25f40a0e16204adcfc2b2d2ec99faaaad3c800f9b295e01b3cfd3ad05ed79628

Contents?: true

Size: 196 Bytes

Versions: 7

Compression:

Stored size: 196 Bytes

Contents

module Saml
  module Kit
    module Translatable
      def error_message(attribute, type: :invalid)
        I18n.translate(attribute, scope: "saml/kit.errors.#{name}")
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
saml-kit-0.2.11 lib/saml/kit/translatable.rb
saml-kit-0.2.10 lib/saml/kit/translatable.rb
saml-kit-0.2.9 lib/saml/kit/translatable.rb
saml-kit-0.2.8 lib/saml/kit/translatable.rb
saml-kit-0.2.7 lib/saml/kit/translatable.rb
saml-kit-0.2.6 lib/saml/kit/translatable.rb
saml-kit-0.2.5 lib/saml/kit/translatable.rb