lib/restforce/concerns/authentication.rb
# Internal: Returns true if oauth token refresh flow should be used for
# authentication.
Returns true if oauth token refresh flow should be used for
authentication.
Returns true if oauth token refresh flow should be used for authentication .
def oauth_refresh?
        options[:refresh_token] &&
          options[:client_id] &&
          options[:client_secret]
      end
def oauth_refresh? options [ :refresh_token ] && options [ :client_id ] && options [ :client_secret ] end
Internal: Returns true if oauth token refresh flow should be used for
authentication.
Internal : Returns true if oauth token refresh flow should be used for authentication .