lib/korbit_api/configuration.rb
# Reset all configuration options to defaults
Reset all configuration options to defaults
Reset all configuration options to defaults
def reset
      @access_token   = DEFAULT_ACCESS_TOKEN
      @client_id      = DEFAULT_CLIENT_ID
      @client_secret  = DEFAULT_CLIENT_SECRET
      @username       = nil
      @password       = nil
      @user_agent     = DEFAULT_USER_AGENT
      @endpoint       = DEFAULT_ENDPOINT
      @debug          = false
    end
def reset @access_token = DEFAULT_ACCESS_TOKEN @client_id = DEFAULT_CLIENT_ID @client_secret = DEFAULT_CLIENT_SECRET @username = nil @password = nil @user_agent = DEFAULT_USER_AGENT @endpoint = DEFAULT_ENDPOINT @debug = false end
Reset all configuration options to defaults
Reset all configuration options to defaults