Class: Xsys::Model::CashRegisterPeriod
- Inherits:
-
Object
- Object
- Xsys::Model::CashRegisterPeriod
- Defined in:
- lib/xsys/model/cash_register_period.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ CashRegisterPeriod
constructor
A new instance of CashRegisterPeriod.
Constructor Details
#initialize(attributes = {}) ⇒ CashRegisterPeriod
Returns a new instance of CashRegisterPeriod.
13 14 15 16 17 |
# File 'lib/xsys/model/cash_register_period.rb', line 13 def initialize(attributes={}) attributes.each do |k, v| self.send("#{k}=", v) if self.respond_to?(k) end end |
Class Method Details
.attr_list ⇒ Object
4 5 6 7 8 9 |
# File 'lib/xsys/model/cash_register_period.rb', line 4 def self.attr_list [ :code, :cash_register_code, :cash_register_number, :period_number, :shop_code, :time_from, :time_to, :description, :status ] end |