Class: MossGenerator::VatRate
- Inherits:
-
Object
- Object
- MossGenerator::VatRate
- Defined in:
- lib/moss_generator/vat_rate.rb
Overview
Returns standard vat rate from vat_rates.json
Class Method Summary collapse
Class Method Details
.for(country_code) ⇒ Object
9 10 11 |
# File 'lib/moss_generator/vat_rate.rb', line 9 def for(country_code) vat_rates.dig(country_code, 'standard_rate') end |