Class: Ufebs::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ufebs/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#standardObject

Returns the value of attribute standard.



3
4
5
# File 'lib/ufebs/configuration.rb', line 3

def standard
  @standard
end

Instance Method Details

#schemasObject



5
6
7
8
9
10
11
# File 'lib/ufebs/configuration.rb', line 5

def schemas
  schemas_file = if standard == '2017'
    File.expand_path '../../../XMLSchemas/cbr_ed_kbr_v2017.4.2.xsd', __FILE__
  else
    File.expand_path '../../../XMLSchemas_2018/cbr_ed_kbr_v2018.3.2.xsd', __FILE__ 
  end
end