class Pohoda::Parsers::Typ::AddressInternetType

Public Instance Methods

city() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 39
def city
  at 'typ:city'
end
city_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 43
def city_attributes
  attributes_at 'typ:city'
end
company() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 7
def company
  at 'typ:company'
end
company_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 11
def company_attributes
  attributes_at 'typ:company'
end
dic() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 79
def dic
  at 'typ:dic'
end
dic_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 83
def dic_attributes
  attributes_at 'typ:dic'
end
email() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 119
def email
  at 'typ:email'
end
email_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 123
def email_attributes
  attributes_at 'typ:email'
end
fax() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 111
def fax
  at 'typ:fax'
end
fax_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 115
def fax_attributes
  attributes_at 'typ:fax'
end
ic_dph() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 87
def ic_dph
  at 'typ:icDph'
end
ic_dph_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 91
def ic_dph_attributes
  attributes_at 'typ:icDph'
end
ico() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 71
def ico
  at 'typ:ico'
end
ico_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 75
def ico_attributes
  attributes_at 'typ:ico'
end
mobil_phone() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 103
def mobil_phone
  at 'typ:mobilPhone'
end
mobil_phone_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 107
def mobil_phone_attributes
  attributes_at 'typ:mobilPhone'
end
name() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 31
def name
  at 'typ:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 35
def name_attributes
  attributes_at 'typ:name'
end
number() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 55
def number
  at 'typ:number'
end
number_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 59
def number_attributes
  attributes_at 'typ:number'
end
phone() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 95
def phone
  at 'typ:phone'
end
phone_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 99
def phone_attributes
  attributes_at 'typ:phone'
end
street() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 47
def street
  at 'typ:street'
end
street_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 51
def street_attributes
  attributes_at 'typ:street'
end
surname() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 23
def surname
  at 'typ:surname'
end
surname_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 27
def surname_attributes
  attributes_at 'typ:surname'
end
title() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 15
def title
  at 'typ:title'
end
title_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 19
def title_attributes
  attributes_at 'typ:title'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 135
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:company] = company if has? 'typ:company'
  hash[:company_attributes] = company_attributes if has? 'typ:company'
  hash[:title] = title if has? 'typ:title'
  hash[:title_attributes] = title_attributes if has? 'typ:title'
  hash[:surname] = surname if has? 'typ:surname'
  hash[:surname_attributes] = surname_attributes if has? 'typ:surname'
  hash[:name] = name if has? 'typ:name'
  hash[:name_attributes] = name_attributes if has? 'typ:name'
  hash[:city] = city if has? 'typ:city'
  hash[:city_attributes] = city_attributes if has? 'typ:city'
  hash[:street] = street if has? 'typ:street'
  hash[:street_attributes] = street_attributes if has? 'typ:street'
  hash[:number] = number if has? 'typ:number'
  hash[:number_attributes] = number_attributes if has? 'typ:number'
  hash[:zip] = zip if has? 'typ:zip'
  hash[:zip_attributes] = zip_attributes if has? 'typ:zip'
  hash[:ico] = ico if has? 'typ:ico'
  hash[:ico_attributes] = ico_attributes if has? 'typ:ico'
  hash[:dic] = dic if has? 'typ:dic'
  hash[:dic_attributes] = dic_attributes if has? 'typ:dic'
  hash[:ic_dph] = ic_dph if has? 'typ:icDph'
  hash[:ic_dph_attributes] = ic_dph_attributes if has? 'typ:icDph'
  hash[:phone] = phone if has? 'typ:phone'
  hash[:phone_attributes] = phone_attributes if has? 'typ:phone'
  hash[:mobil_phone] = mobil_phone if has? 'typ:mobilPhone'
  hash[:mobil_phone_attributes] = mobil_phone_attributes if has? 'typ:mobilPhone'
  hash[:fax] = fax if has? 'typ:fax'
  hash[:fax_attributes] = fax_attributes if has? 'typ:fax'
  hash[:email] = email if has? 'typ:email'
  hash[:email_attributes] = email_attributes if has? 'typ:email'
  hash[:www] = www if has? 'typ:www'
  hash[:www_attributes] = www_attributes if has? 'typ:www'

  hash
end
www() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 127
def www
  at 'typ:www'
end
www_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 131
def www_attributes
  attributes_at 'typ:www'
end
zip() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 63
def zip
  at 'typ:zip'
end
zip_attributes() click to toggle source
# File lib/pohoda/parsers/typ/address_internet_type.rb, line 67
def zip_attributes
  attributes_at 'typ:zip'
end