Sha256: ea8a28f21a18b1ed7da4e9d497fd26698b98ccdb764819ec621ab239065d7c6e
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
require 'money_s3/base_element' require 'money_s3/eet_type' module MoneyS3 class DoklRefType include BaseElement def id_dokladu at :IDDokladu end def cislo_dokladu at :CisloDokladu end def druh_dokladu at :DruhDokladu end def rok at :Rok end def eet submodel_at(EETType, :EET) end def to_h { id_dokladu: id_dokladu, cislo_dokladu: cislo_dokladu, druh_dokladu: druh_dokladu, rok: rok, eet: eet.to_h }.delete_if { |k, v| v.nil? || v.empty? } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.3.0 | lib/money_s3/dokl_ref_type.rb |