Module: OfficeClerk

Defined in:
lib/office_clerk.rb,
lib/office_clerk/engine.rb,
lib/office_clerk/version.rb,
lib/office_clerk/shipping_method.rb

Defined Under Namespace

Classes: Engine, Pickup, ShippingMethod

Constant Summary collapse

VERSION =
"0.9"

Class Method Summary collapse

Class Method Details

.config(key) ⇒ Object

Configuration is stored in locale/config.yml under the main key (ie “locale”) config You can add to it, or redifine it, just like you do to locale data, by adding a locale file to your app

with config locale and the keys you need


26
27
28
# File 'lib/office_clerk.rb', line 26

def self.config key
  I18n.t(key , :locale => :config)
end