Sha256: ea5633b17e56f3e740f1d3165babbcae6925a33a65c9cc225c9ae8b6b150f459

Contents?: true

Size: 250 Bytes

Versions: 4

Compression:

Stored size: 250 Bytes

Contents

module SpreeSignifyd
  class OrderScore < ActiveRecord::Base
    self.table_name = :spree_signifyd_order_scores

    belongs_to :order, class_name: "Spree::Order"
    validates :score, numericality: true
    validates :order, presence: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_signifyd-1.1.0 app/models/spree_signifyd/order_score.rb
solidus_signifyd-1.0.1 app/models/spree_signifyd/order_score.rb
solidus_signifyd-1.0.0 app/models/spree_signifyd/order_score.rb
solidus_signifyd-0.1.1 app/models/spree_signifyd/order_score.rb