Sha256: bd9fb2a56ac1a763ca4faa209cdb75cd7fc5b3b27ea68bbf7c351884bedc78c2

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class Ucet
      include BaseParser

      def zkrat
        at :Zkrat
      end

      def ucet
        at :Ucet
      end

      def b_kod
        at :BKod
      end

      def b_nazev
        at :BNazev
      end

      def to_h
        { zkrat: zkrat,
          ucet: ucet,
          b_kod: b_kod,
          b_nazev: b_nazev
        }.delete_if { |k, v| v.nil? || v.empty? }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.4.0 lib/money_s3/parsers/ucet.rb