Sha256: 13620f971ddbd2665fbef7f116b8430160b1ca3bb36f5f65ac1ced237c827fc2
Contents?: true
Size: 494 Bytes
Versions: 12
Compression:
Stored size: 494 Bytes
Contents
module Xsys module Model class CashRegisterPeriod def self.attr_list [ :code, :cash_register_code, :cash_register_number, :period_number, :shop_code, :time_from, :time_to, :description, :status ] end attr_reader *attr_list def initialize(attributes={}) attributes.each do |k, v| self.send("#{k}=", v) if self.respond_to?(k) end end private attr_writer *attr_list end end end
Version data entries
12 entries across 12 versions & 1 rubygems