Sha256: b0b25f9a5468d33f2dd2182fc1cc2bd72da2edd22cdb1549de019b87ca94d51e

Contents?: true

Size: 920 Bytes

Versions: 1

Compression:

Stored size: 920 Bytes

Contents

require 'money_s3/base_element'

module MoneyS3
  class UhradaPduhrada
    include BaseElement

    def poradi
      at :Poradi
    end

    def kontace
      at :Kontace
    end

    def stredisko
      at :Stredisko
    end

    def zakazka
      at :Zakazka
    end

    def cinnost
      at :Cinnost
    end

    def zaklad
      at :Zaklad
    end

    def dphzs
      at :DPHZS
    end

    def dphss
      at :DPHSS
    end

    def wl_zaklady
      at :WLZaklady
    end

    def wldph1
      at :WLDPH1
    end

    def wldph2
      at :WLDPH2
    end

    def to_h
      { poradi: poradi,
        kontace: kontace,
        stredisko: stredisko,
        zakazka: zakazka,
        cinnost: cinnost,
        zaklad: zaklad,
        dphzs: dphzs,
        dphss: dphss,
        wl_zaklady: wl_zaklady,
        wldph1: wldph1,
        wldph2: wldph2
      }.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/uhrada_pduhrada.rb