class MoneyS3::Parsers::AdresaType

Public Instance Methods

kod_statu() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 38
def kod_statu
  at 'KodStatu'
end
kod_statu_attributes() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 42
def kod_statu_attributes
  attributes_at 'KodStatu'
end
misto() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 14
def misto
  at 'Misto'
end
misto_attributes() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 18
def misto_attributes
  attributes_at 'Misto'
end
psc() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 22
def psc
  at 'PSC'
end
psc_attributes() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 26
def psc_attributes
  attributes_at 'PSC'
end
stat() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 30
def stat
  at 'Stat'
end
stat_attributes() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 34
def stat_attributes
  attributes_at 'Stat'
end
to_h() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 46
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:ulice] = ulice if has? 'Ulice'
  hash[:ulice_attributes] = ulice_attributes if has? 'Ulice'
  hash[:misto] = misto if has? 'Misto'
  hash[:misto_attributes] = misto_attributes if has? 'Misto'
  hash[:psc] = psc if has? 'PSC'
  hash[:psc_attributes] = psc_attributes if has? 'PSC'
  hash[:stat] = stat if has? 'Stat'
  hash[:stat_attributes] = stat_attributes if has? 'Stat'
  hash[:kod_statu] = kod_statu if has? 'KodStatu'
  hash[:kod_statu_attributes] = kod_statu_attributes if has? 'KodStatu'

  hash
end
ulice() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 6
def ulice
  at 'Ulice'
end
ulice_attributes() click to toggle source
# File lib/money_s3/parsers/adresa_type.rb, line 10
def ulice_attributes
  attributes_at 'Ulice'
end