Sha256: 1a02dbf117ac4374bc7e44d05bc3d79f4824b56ebe802ad08cf076eb90bb0ce1

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

module Spree
  class ReferredRecord < Spree::Base
    belongs_to :referral
    belongs_to :user, class_name: Spree.user_class.to_s
    belongs_to :affiliate

    validates_presence_of :user
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_reffiliate-2.4.1 app/models/spree/referred_record.rb
spree_reffiliate-2.3.1 app/models/spree/referred_record.rb