Class: Ufebs::Configuration
- Inherits:
-
Object
- Object
- Ufebs::Configuration
- Defined in:
- lib/ufebs/configuration.rb
Instance Attribute Summary collapse
-
#standard ⇒ Object
Returns the value of attribute standard.
Instance Method Summary collapse
Instance Attribute Details
#standard ⇒ Object
Returns the value of attribute standard.
3 4 5 |
# File 'lib/ufebs/configuration.rb', line 3 def standard @standard end |
Instance Method Details
#schemas ⇒ Object
5 6 7 |
# File 'lib/ufebs/configuration.rb', line 5 def schemas schemas_hash[standard] end |
#schemas_hash ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/ufebs/configuration.rb', line 9 def schemas_hash { '2017' => File.('../../../XMLSchemas/cbr_ed_kbr_v2017.4.2.xsd', __FILE__), '2018' => File.('../../../XMLSchemas_2018/cbr_ed_kbr_v2018.3.2.xsd', __FILE__), '2019' => File.('../../../XMLSchemas_2019/cbr_ed_kbr_v2019.2.1.xsd', __FILE__) } end |