-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration Options
rogeliog edited this page Oct 3, 2012
·
3 revisions
NOTE: All of the code in this section should be added within an Innsights.setup
block.
Configuration options are set under the config block
config do
end
Specify configuration options for certain environments.
config :test, :development do
end
Default behavior:
No queue system will be used to send the actions
Customization:
- Resque: This require you to have resque dependencies installed and resque workers running.
config do
queue :resque
end
- Delayed_job: This require you to have delayed_job dependencies installed and delayed_job workers running.
config do
queue :delay_job
end
Reporting actions to Innsights can be either enabled or disabled. Report to insights is enabled by default.
Customization
config do
enable false
end
Changes the Innsights url to a pow url ('innsights.dev/')
config :development do
mode :test
end
credentials 'app' => application-subdomain,
'token' => application-token
Enviroment defaults to the current Rails or Rack environment.
Customization
environment 'development'