Sha256: eb42ce1db5f50aa4e44b78b182c88edaa269444f4008939f4ea7a4a0bac3660b
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class VlajkaType include BaseParser def id_user at 'IDUser' end def name_user at 'NameUser' end def id_flag at 'IDFlag' end def title at 'Title' end def enabled at 'Enabled' end def remark at 'Remark' end def rf_width at 'RFWidth' end def rf_height at 'RFHeight' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:id_user] = id_user if has? 'IDUser' hash[:name_user] = name_user if has? 'NameUser' hash[:id_flag] = id_flag if has? 'IDFlag' hash[:title] = title if has? 'Title' hash[:enabled] = enabled if has? 'Enabled' hash[:remark] = remark if has? 'Remark' hash[:rf_width] = rf_width if has? 'RFWidth' hash[:rf_height] = rf_height if has? 'RFHeight' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/vlajka_type.rb |