class MoneyS3::Parsers::KomponentaType
Public Instance Methods
km_karta()
click to toggle source
# File lib/money_s3/parsers/komponenta_type.rb, line 18 def km_karta submodel_at(KmKartaType, 'KmKarta') end
poc_mj()
click to toggle source
# File lib/money_s3/parsers/komponenta_type.rb, line 6 def poc_mj at 'PocMJ' end
poc_mj_attributes()
click to toggle source
# File lib/money_s3/parsers/komponenta_type.rb, line 10 def poc_mj_attributes attributes_at 'PocMJ' end
sklad()
click to toggle source
# File lib/money_s3/parsers/komponenta_type.rb, line 22 def sklad submodel_at(SkladType, 'Sklad') end
stav_zasoby()
click to toggle source
# File lib/money_s3/parsers/komponenta_type.rb, line 14 def stav_zasoby submodel_at(StavZasobyType, 'StavZasoby') end
to_h()
click to toggle source
# File lib/money_s3/parsers/komponenta_type.rb, line 26 def to_h hash = {} hash[:attributes] = attributes hash[:poc_mj] = poc_mj if has? 'PocMJ' hash[:poc_mj_attributes] = poc_mj_attributes if has? 'PocMJ' hash[:stav_zasoby] = stav_zasoby.to_h if has? 'StavZasoby' hash[:km_karta] = km_karta.to_h if has? 'KmKarta' hash[:sklad] = sklad.to_h if has? 'Sklad' hash end