Module: GOBLExtensions::Tax::RegimeHelper::ClassMethods
- Included in:
- GOBL::Tax::Regime
- Defined in:
- lib/gobl_extensions/tax/regime_helper.rb
Instance Method Summary collapse
-
#fetch(code) ⇒ Regime
Loads a GOBL::Tax::Regime object identified by the given code with all its data.
Instance Method Details
#fetch(code) ⇒ Regime
Loads a GOBL::Tax::Regime object identified by the given code with all its data
13 14 15 |
# File 'lib/gobl_extensions/tax/regime_helper.rb', line 13 def fetch(code) regimes[code] ||= load_regime(code) end |