Sha256: 5b442f63ce3664c857f0f4b0c0cfab58f7bef5c1794e6d3a9016884bf149673d
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
require 'money_s3/base_element' require 'money_s3/parametr_type' module MoneyS3 class ParametrKartaType include BaseElement def poradi at :Poradi end def value at :Value end def parametr submodel_at(ParametrType, :Parametr) end def to_h { poradi: poradi, value: value, parametr: parametr.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/parametr_karta_type.rb |