Sha256: befd95bc3aa65611e36f7b1eee3a12776ab2001d2db5aebcd86a8c1748f41521

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

module Spree
  class SubscriptionEvent < Spree::Base
    serialize :response
    
    belongs_to :subscription
    validates :event_id, :subscription_id, presence: true
    validates :event_id, uniqueness: true

    attr_readonly :event_id, :subscription_id, :request_type
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_account_recurring-1.3.0 app/models/spree/subscription_event.rb
spree_account_recurring-1.2.0 app/models/spree/subscription_event.rb