Module: Bobot
- Defined in:
- lib/bobot.rb,
lib/bobot/page.rb,
lib/bobot/user.rb,
lib/bobot/event.rb,
lib/bobot/engine.rb,
lib/bobot/buttons.rb,
lib/bobot/profile.rb,
lib/bobot/version.rb,
lib/bobot/commander.rb,
lib/bobot/exceptions.rb,
lib/bobot/events/read.rb,
lib/bobot/error_parser.rb,
lib/bobot/events/optin.rb,
lib/bobot/configuration.rb,
lib/bobot/events/common.rb,
lib/bobot/events/message.rb,
lib/bobot/graph_facebook.rb,
lib/bobot/events/delivery.rb,
lib/bobot/events/postback.rb,
lib/bobot/events/referral.rb,
lib/generators/bobot/utils.rb,
app/jobs/bobot/commander_job.rb,
lib/bobot/events/message_echo.rb,
app/jobs/bobot/application_job.rb,
lib/bobot/events/account_linking.rb,
lib/bobot/events/message_request.rb,
lib/bobot/events/policy_enforcement.rb,
lib/bobot/events/pass_thread_control.rb,
lib/bobot/events/take_thread_control.rb,
lib/generators/bobot/install_generator.rb,
app/controllers/bobot/webhook_controller.rb,
lib/generators/bobot/uninstall_generator.rb,
app/controllers/bobot/application_controller.rb
Defined Under Namespace
Modules: Buttons, Commander, Event, Generators, GraphFacebook, Profile, User
Classes: AccessTokenError, AccountLinkingError, ActionNotAllowed, ApplicationController, ApplicationJob, BadParameterError, CommanderJob, Configuration, Engine, Error, ErrorParser, FacebookError, FieldFormat, InstallGenerator, InternalError, LimitError, NetworkError, Page, PermissionError, SendError, UninstallGenerator, Version, WebhookController
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
18
19
20
|
# File 'lib/bobot.rb', line 18
def self.config
@config ||= Configuration.new
end
|
.config=(config) ⇒ Object
22
23
24
|
# File 'lib/bobot.rb', line 22
def self.config=(config)
@config = config
end
|
14
15
16
|
# File 'lib/bobot.rb', line 14
def self.configure
yield config
end
|