Sha256: 6091e5743020f9b1ad598ce9329997f2fd1cfb6fa61b53574eb2e32c7fe45c96
Contents?: true
Size: 784 Bytes
Versions: 53
Compression:
Stored size: 784 Bytes
Contents
class Auth::System::Branch include Auth::Concerns::SystemConcern embeds_many :definitions, :class_name => "Auth::System::Definition" embeds_many :units, :class_name => "Auth::System::Unit" embedded_in :level, :class_name => "Auth::System::Level" field :product_bunch, type: String field :merge_output, type: Boolean field :input_object_ids, type: Array, default: [] def add_cart_items self.definitions.each do |definition| definition.add_cart_items(self.input_object_ids.map{|c| c = Auth.configuration.cart_item_class.constantize.find(c)}) end end def do_schedule_queries self.definitions.each do |definition| definition.find_input_object_id_common_schedules definition.apply_time_specifications definition.apply_location_specifications end end end
Version data entries
53 entries across 53 versions & 1 rubygems