Class: MoneyS3::Parsers::TelefonType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::TelefonType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/telefon_type.rb
Instance Method Summary collapse
- #cislo ⇒ Object
- #cislo_attributes ⇒ Object
- #klap ⇒ Object
- #klap_attributes ⇒ Object
- #pred ⇒ Object
- #pred_attributes ⇒ Object
- #to_h ⇒ Object
Instance Method Details
#cislo ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 14 def cislo at 'Cislo' end |
#cislo_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 18 def cislo_attributes attributes_at 'Cislo' end |
#klap ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 22 def klap at 'Klap' end |
#klap_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 26 def klap_attributes attributes_at 'Klap' end |
#pred ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 6 def pred at 'Pred' end |
#pred_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 10 def pred_attributes attributes_at 'Pred' end |
#to_h ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/money_s3/parsers/telefon_type.rb', line 30 def to_h hash = {} hash[:attributes] = attributes hash[:pred] = pred if has? 'Pred' hash[:pred_attributes] = pred_attributes if has? 'Pred' hash[:cislo] = cislo if has? 'Cislo' hash[:cislo_attributes] = cislo_attributes if has? 'Cislo' hash[:klap] = klap if has? 'Klap' hash[:klap_attributes] = klap_attributes if has? 'Klap' hash end |