Sha256: 084540368b9474810915d679506fabf93e7649e2718586ba6223d64ba5b17c0a
Contents?: true
Size: 518 Bytes
Versions: 8
Compression:
Stored size: 518 Bytes
Contents
module Xsys module Model class InvoiceKind def self.attr_list [ :code, :shop_code, :sale_point_code, :receipt_identifier, :name, :description, :letter, :invoice_method, :invoice_operation, :operation_sign, :has_taxes ] 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
8 entries across 8 versions & 1 rubygems