Sha256: 46aea8131d6c06ac35f05b5690518cbbf59293af7f8f06813ca61f39bc7d2ff7
Contents?: true
Size: 532 Bytes
Versions: 3
Compression:
Stored size: 532 Bytes
Contents
module Xsys module Model class CorporationTax def self.attr_list [:tax_kind_code, :quotient, :amount, :use_default_value] end attr_reader *attr_list def initialize(attributes={}) self.tax_kind_code = attributes[:tax_kind_code] self.quotient = BigDecimal.new(attributes[:quotient]) self.amount = BigDecimal.new(attributes[:amount]) self.use_default_value = attributes[:use_default_value] end private attr_writer *attr_list end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xsys-0.24.0 | lib/xsys/model/corporation_tax.rb |
xsys-0.23.0 | lib/xsys/model/corporation_tax.rb |
xsys-0.22.0 | lib/xsys/model/corporation_tax.rb |