class MoneyS3::Parsers::OsobaType

Public Instance Methods

adresa() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 70
def adresa
  submodel_at(AdresaType, 'Adresa')
end
dat_nar() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 46
def dat_nar
  at 'DatNar'
end
dat_nar_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 50
def dat_nar_attributes
  attributes_at 'DatNar'
end
e_mail() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 94
def e_mail
  at 'EMail'
end
e_mail_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 98
def e_mail_attributes
  attributes_at 'EMail'
end
fax() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 78
def fax
  submodel_at(TelefonType, 'Fax')
end
funkce() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 62
def funkce
  at 'Funkce'
end
funkce_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 66
def funkce_attributes
  attributes_at 'Funkce'
end
guid() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 134
def guid
  at 'GUID'
end
guid_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 138
def guid_attributes
  attributes_at 'GUID'
end
jednatel() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 142
def jednatel
  at 'Jednatel'
end
jednatel_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 146
def jednatel_attributes
  attributes_at 'Jednatel'
end
jmeno() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 30
def jmeno
  at 'Jmeno'
end
jmeno_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 34
def jmeno_attributes
  attributes_at 'Jmeno'
end
kod_partn() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 126
def kod_partn
  at 'KodPartn'
end
kod_partn_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 130
def kod_partn_attributes
  attributes_at 'KodPartn'
end
mail() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 102
def mail
  at 'Mail'
end
mail_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 106
def mail_attributes
  attributes_at 'Mail'
end
mail_datum() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 110
def mail_datum
  at 'MailDatum'
end
mail_datum_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 114
def mail_datum_attributes
  attributes_at 'MailDatum'
end
mobil() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 82
def mobil
  submodel_at(TelefonType, 'Mobil')
end
osloveni() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 6
def osloveni
  at 'Osloveni'
end
osloveni_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 10
def osloveni_attributes
  attributes_at 'Osloveni'
end
pohlavi() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 54
def pohlavi
  at 'Pohlavi'
end
pohlavi_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 58
def pohlavi_attributes
  attributes_at 'Pohlavi'
end
pozn() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 118
def pozn
  at 'Pozn'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 122
def pozn_attributes
  attributes_at 'Pozn'
end
prijmeni() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 38
def prijmeni
  at 'Prijmeni'
end
prijmeni_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 42
def prijmeni_attributes
  attributes_at 'Prijmeni'
end
spojeni() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 86
def spojeni
  at 'Spojeni'
end
spojeni_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 90
def spojeni_attributes
  attributes_at 'Spojeni'
end
tel() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 74
def tel
  submodel_at(TelefonType, 'Tel')
end
titul_pred() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 14
def titul_pred
  at 'TitulPred'
end
titul_pred_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 18
def titul_pred_attributes
  attributes_at 'TitulPred'
end
titul_za() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 22
def titul_za
  at 'TitulZa'
end
titul_za_attributes() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 26
def titul_za_attributes
  attributes_at 'TitulZa'
end
to_h() click to toggle source
# File lib/money_s3/parsers/osoba_type.rb, line 150
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:osloveni] = osloveni if has? 'Osloveni'
  hash[:osloveni_attributes] = osloveni_attributes if has? 'Osloveni'
  hash[:titul_pred] = titul_pred if has? 'TitulPred'
  hash[:titul_pred_attributes] = titul_pred_attributes if has? 'TitulPred'
  hash[:titul_za] = titul_za if has? 'TitulZa'
  hash[:titul_za_attributes] = titul_za_attributes if has? 'TitulZa'
  hash[:jmeno] = jmeno if has? 'Jmeno'
  hash[:jmeno_attributes] = jmeno_attributes if has? 'Jmeno'
  hash[:prijmeni] = prijmeni if has? 'Prijmeni'
  hash[:prijmeni_attributes] = prijmeni_attributes if has? 'Prijmeni'
  hash[:dat_nar] = dat_nar if has? 'DatNar'
  hash[:dat_nar_attributes] = dat_nar_attributes if has? 'DatNar'
  hash[:pohlavi] = pohlavi if has? 'Pohlavi'
  hash[:pohlavi_attributes] = pohlavi_attributes if has? 'Pohlavi'
  hash[:funkce] = funkce if has? 'Funkce'
  hash[:funkce_attributes] = funkce_attributes if has? 'Funkce'
  hash[:adresa] = adresa.to_h if has? 'Adresa'
  hash[:tel] = tel.to_h if has? 'Tel'
  hash[:fax] = fax.to_h if has? 'Fax'
  hash[:mobil] = mobil.to_h if has? 'Mobil'
  hash[:spojeni] = spojeni if has? 'Spojeni'
  hash[:spojeni_attributes] = spojeni_attributes if has? 'Spojeni'
  hash[:e_mail] = e_mail if has? 'EMail'
  hash[:e_mail_attributes] = e_mail_attributes if has? 'EMail'
  hash[:mail] = mail if has? 'Mail'
  hash[:mail_attributes] = mail_attributes if has? 'Mail'
  hash[:mail_datum] = mail_datum if has? 'MailDatum'
  hash[:mail_datum_attributes] = mail_datum_attributes if has? 'MailDatum'
  hash[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'
  hash[:kod_partn] = kod_partn if has? 'KodPartn'
  hash[:kod_partn_attributes] = kod_partn_attributes if has? 'KodPartn'
  hash[:guid] = guid if has? 'GUID'
  hash[:guid_attributes] = guid_attributes if has? 'GUID'
  hash[:jednatel] = jednatel if has? 'Jednatel'
  hash[:jednatel_attributes] = jednatel_attributes if has? 'Jednatel'

  hash
end