Module: GOBL::Extensions::Tax::AddonHelper::ClassMethods
- Included in:
- Tax::AddonDef
- Defined in:
- lib/gobl/extensions/tax/addon_helper.rb
Instance Method Summary collapse
-
#fetch(code) ⇒ Regime
Loads a Tax::Regime object identified by the given code with all its data.
Instance Method Details
#fetch(code) ⇒ Regime
Loads a Tax::Regime object identified by the given code with all its data
14 15 16 |
# File 'lib/gobl/extensions/tax/addon_helper.rb', line 14 def fetch(code) addons[code] ||= load_addon(code) end |