Class: Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/stockboy/railtie.rb

Overview

When loaded in a Rails project, Stockboy will assume the following defaults:

Configuration file

If a file under config/stockboy.rb exists, it will be loaded for setting up the app-specific configuration options, like paths or registering custom readers, filters, or providers.

Default template load paths

config/stockboy_jobs Will be set up as the default template load path. This can be changed in the config file.