Sha256: e670d9010ef589b719f4ada69b686ef031d172f736e7859a61850ce58013a436

Contents?: true

Size: 313 Bytes

Versions: 157

Compression:

Stored size: 313 Bytes

Contents

module Comee
  module Core
    class ClientOrder < ApplicationRecord
      belongs_to :order_source
      belongs_to :client

      validates :url, :processed, presence: true

      def self.ransackable_attributes(_auth_object = nil)
        %w[client_id id order_source_id processed]
      end
    end
  end
end

Version data entries

157 entries across 157 versions & 1 rubygems

Version Path
comee_core-0.3.62 app/models/comee/core/client_order.rb
comee_core-0.3.61 app/models/comee/core/client_order.rb
comee_core-0.3.60 app/models/comee/core/client_order.rb
comee_core-0.3.59 app/models/comee/core/client_order.rb
comee_core-0.3.58 app/models/comee/core/client_order.rb
comee_core-0.3.57 app/models/comee/core/client_order.rb
comee_core-0.3.56 app/models/comee/core/client_order.rb
comee_core-0.3.55 app/models/comee/core/client_order.rb
comee_core-0.3.54 app/models/comee/core/client_order.rb
comee_core-0.3.53 app/models/comee/core/client_order.rb
comee_core-0.3.51 app/models/comee/core/client_order.rb
comee_core-0.3.50 app/models/comee/core/client_order.rb
comee_core-0.3.49 app/models/comee/core/client_order.rb
comee_core-0.3.48 app/models/comee/core/client_order.rb
comee_core-0.3.47 app/models/comee/core/client_order.rb
comee_core-0.3.46 app/models/comee/core/client_order.rb
comee_core-0.3.45 app/models/comee/core/client_order.rb
comee_core-0.3.44 app/models/comee/core/client_order.rb
comee_core-0.3.43 app/models/comee/core/client_order.rb
comee_core-0.3.42 app/models/comee/core/client_order.rb