method

legitimize_auth_type

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveResource::Connection
legitimize_auth_type(auth_type) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activeresource/lib/active_resource/connection.rb, line 277
      def legitimize_auth_type(auth_type)
        return :basic if auth_type.nil?
        auth_type = auth_type.to_sym
        [:basic, :digest].include?(auth_type) ? auth_type : :basic
      end
Register or log in to add new notes.