method

legitimize_auth_type

Importance_0
v3.2.8 - 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 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
Register or log in to add new notes.