lib/omniauth/strategy.rb
def skip_info?
      return false unless options.skip_info?
      return true unless options.skip_info.respond_to?(:call)

      options.skip_info.call(uid)
    end
def skip_info?
      return false unless options.skip_info?
      return true unless options.skip_info.respond_to?(:call)

      options.skip_info.call(uid)
    end
def skip_info? return false unless options . skip_info? return true unless options . skip_info . respond_to? ( :call ) options . skip_info . call ( uid ) end
Determines whether or not user info should be retrieved. This
 allows some strategies to save a call to an external API service
 for existing users. You can use it either by setting the `:skip_info`
 to true or by setting `:skip_info` to a Proc that takes a uid and
 evaluates to true when you would like to skip info.

 @example

   use MyStrategy, :skip_info => lambda{|uid| User.find_by_uid(uid)}
Determines whether or not user info should be retrieved . This allows some strategies to save a call to an external API service for existing users . You can use it either by setting the : skip_info to true or by setting : skip_info to a Proc that takes a uid and evaluates to true when you would like to skip info .