Class: MoneyS3::Parsers::Valuty
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::Valuty
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/valuty.rb
Instance Method Summary collapse
- #dph ⇒ Object
- #dph_attributes ⇒ Object
- #dph_mj ⇒ Object
- #dph_mj_attributes ⇒ Object
- #to_h ⇒ Object
- #zaklad ⇒ Object
- #zaklad_attributes ⇒ Object
- #zaklad_mj ⇒ Object
- #zaklad_mj_attributes ⇒ Object
Instance Method Details
#dph ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/valuty.rb', line 30 def dph at 'DPH' end |
#dph_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/valuty.rb', line 34 def dph_attributes attributes_at 'DPH' end |
#dph_mj ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/valuty.rb', line 14 def dph_mj at 'DPH_MJ' end |
#dph_mj_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/valuty.rb', line 18 def dph_mj_attributes attributes_at 'DPH_MJ' end |
#to_h ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/money_s3/parsers/valuty.rb', line 38 def to_h hash = {} hash[:attributes] = attributes hash[:zaklad_mj] = zaklad_mj if has? 'Zaklad_MJ' hash[:zaklad_mj_attributes] = zaklad_mj_attributes if has? 'Zaklad_MJ' hash[:dph_mj] = dph_mj if has? 'DPH_MJ' hash[:dph_mj_attributes] = dph_mj_attributes if has? 'DPH_MJ' hash[:zaklad] = zaklad if has? 'Zaklad' hash[:zaklad_attributes] = zaklad_attributes if has? 'Zaklad' hash[:dph] = dph if has? 'DPH' hash[:dph_attributes] = dph_attributes if has? 'DPH' hash end |
#zaklad ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/valuty.rb', line 22 def zaklad at 'Zaklad' end |
#zaklad_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/valuty.rb', line 26 def zaklad_attributes attributes_at 'Zaklad' end |
#zaklad_mj ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/valuty.rb', line 6 def zaklad_mj at 'Zaklad_MJ' end |
#zaklad_mj_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/valuty.rb', line 10 def zaklad_mj_attributes attributes_at 'Zaklad_MJ' end |