class Pohoda::Parsers::Typ::RefAddressType
Public Instance Methods
address()
click to toggle source
# File lib/pohoda/parsers/typ/ref_address_type.rb, line 19 def address submodel_at(Typ::AddressType, 'typ:address') end
ext_id()
click to toggle source
# File lib/pohoda/parsers/typ/ref_address_type.rb, line 15 def ext_id submodel_at(Typ::ExtIdType, 'typ:extId') end
ref_ad()
click to toggle source
# File lib/pohoda/parsers/typ/ref_address_type.rb, line 7 def ref_ad at 'typ:refAD' end
ref_ad_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/ref_address_type.rb, line 11 def ref_ad_attributes attributes_at 'typ:refAD' end
to_h()
click to toggle source
# File lib/pohoda/parsers/typ/ref_address_type.rb, line 23 def to_h hash = {} hash[:attributes] = attributes hash[:ref_ad] = ref_ad if has? 'typ:refAD' hash[:ref_ad_attributes] = ref_ad_attributes if has? 'typ:refAD' hash[:ext_id] = ext_id.to_h if has? 'typ:extId' hash[:address] = address.to_h if has? 'typ:address' hash end