Module: FuncBot
- Defined in:
- lib/generators/func_bot/templates/weather_function.rb,
lib/func_bot.rb,
lib/func_bot/engine.rb,
lib/func_bot/version.rb,
lib/func_bot/bots/client.rb,
lib/func_bot/bots/history.rb,
lib/func_bot/bots/message.rb,
lib/func_bot/functions/list.rb,
lib/func_bot/functions/handler.rb,
app/jobs/func_bot/application_job.rb,
lib/func_bot/functions/base_function.rb,
app/models/func_bot/application_record.rb,
app/helpers/func_bot/application_helper.rb,
app/mailers/func_bot/application_mailer.rb,
lib/generators/func_bot/install_generator.rb,
lib/generators/func_bot/function_generator.rb,
app/controllers/func_bot/application_controller.rb
Overview
This function is called when a user asks for the weather. It mocks a call to the weather API and returns the current weather for the requested location.
Defined Under Namespace
Modules: ApplicationHelper, Bots, Functions Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Bot, Engine, FunctionGenerator, InstallGenerator
Constant Summary collapse
- VERSION =
"0.1.5"