method

legitimize_auth_type

rails latest stable - Class: ActiveResource::Connection

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

legitimize_auth_type(auth_type)
private

No documentation available.

# File activeresource/lib/active_resource/connection.rb, line 281
      def legitimize_auth_type(auth_type)
        return :basic if auth_type.nil?
        auth_type = auth_type.to_sym
        auth_type.in?([:basic, :digest]) ? auth_type : :basic
      end