Sha256: f76d7195ab3ab3283b3c2f2099ba9d57a8ca769db9a41c767c0886b2fbb7ab7d

Contents?: true

Size: 284 Bytes

Versions: 3

Compression:

Stored size: 284 Bytes

Contents

module Saml
  module Kit
    module Translatable
      # @!visibility private
      def error_message(attribute, options = {})
        default_options = { scope: "saml/kit.errors.#{name}" }
        I18n.translate(attribute, default_options.merge(options))
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saml-kit-1.0.9 lib/saml/kit/translatable.rb
saml-kit-1.0.8 lib/saml/kit/translatable.rb
saml-kit-1.0.7 lib/saml/kit/translatable.rb