class Pohoda::Parsers::MKasa::KasaEstablishmentType

Public Instance Methods

city() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 15
def city
  at 'mKasa:city'
end
city_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 19
def city_attributes
  attributes_at 'mKasa:city'
end
company() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 7
def company
  at 'mKasa:company'
end
company_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 11
def company_attributes
  attributes_at 'mKasa:company'
end
email() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 63
def email
  at 'mKasa:email'
end
email_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 67
def email_attributes
  attributes_at 'mKasa:email'
end
fax() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 55
def fax
  at 'mKasa:fax'
end
fax_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 59
def fax_attributes
  attributes_at 'mKasa:fax'
end
mobil_phone() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 47
def mobil_phone
  at 'mKasa:mobilPhone'
end
mobil_phone_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 51
def mobil_phone_attributes
  attributes_at 'mKasa:mobilPhone'
end
phone() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 39
def phone
  at 'mKasa:phone'
end
phone_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 43
def phone_attributes
  attributes_at 'mKasa:phone'
end
street() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 23
def street
  at 'mKasa:street'
end
street_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 27
def street_attributes
  attributes_at 'mKasa:street'
end
to_h() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 71
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:company] = company if has? 'mKasa:company'
  hash[:company_attributes] = company_attributes if has? 'mKasa:company'
  hash[:city] = city if has? 'mKasa:city'
  hash[:city_attributes] = city_attributes if has? 'mKasa:city'
  hash[:street] = street if has? 'mKasa:street'
  hash[:street_attributes] = street_attributes if has? 'mKasa:street'
  hash[:zip] = zip if has? 'mKasa:zip'
  hash[:zip_attributes] = zip_attributes if has? 'mKasa:zip'
  hash[:phone] = phone if has? 'mKasa:phone'
  hash[:phone_attributes] = phone_attributes if has? 'mKasa:phone'
  hash[:mobil_phone] = mobil_phone if has? 'mKasa:mobilPhone'
  hash[:mobil_phone_attributes] = mobil_phone_attributes if has? 'mKasa:mobilPhone'
  hash[:fax] = fax if has? 'mKasa:fax'
  hash[:fax_attributes] = fax_attributes if has? 'mKasa:fax'
  hash[:email] = email if has? 'mKasa:email'
  hash[:email_attributes] = email_attributes if has? 'mKasa:email'

  hash
end
zip() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 31
def zip
  at 'mKasa:zip'
end
zip_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_establishment_type.rb, line 35
def zip_attributes
  attributes_at 'mKasa:zip'
end