class MoneyS3::Parsers::TelefonType

Public Instance Methods

cislo() click to toggle source
# File lib/money_s3/parsers/telefon_type.rb, line 14
def cislo
  at 'Cislo'
end
cislo_attributes() click to toggle source
# File lib/money_s3/parsers/telefon_type.rb, line 18
def cislo_attributes
  attributes_at 'Cislo'
end
klap() click to toggle source
# File lib/money_s3/parsers/telefon_type.rb, line 22
def klap
  at 'Klap'
end
klap_attributes() click to toggle source
# File lib/money_s3/parsers/telefon_type.rb, line 26
def klap_attributes
  attributes_at 'Klap'
end
pred() click to toggle source
# File lib/money_s3/parsers/telefon_type.rb, line 6
def pred
  at 'Pred'
end
pred_attributes() click to toggle source
# File lib/money_s3/parsers/telefon_type.rb, line 10
def pred_attributes
  attributes_at 'Pred'
end
to_h() click to toggle source
# 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