Sha256: 281c2b00f45145c821fe3cea142e4f6e9c9d08dbaca59e455c6a354132501936

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

require 'money_s3/base_element'

module MoneyS3
  class BankSpojeniType
    include BaseElement

    def ucet
      at :Ucet
    end

    def kod_banky
      at :KodBanky
    end

    def mena
      at :Mena
    end

    def ucel
      at :Ucel
    end

    def to_h
      { ucet: ucet,
        kod_banky: kod_banky,
        mena: mena,
        ucel: ucel
      }.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/bank_spojeni_type.rb