Sha256: 170951db24b8f734913eb526be803f0cec00eed1be923be8965ddb6cc74c8a14

Contents?: true

Size: 289 Bytes

Versions: 14

Compression:

Stored size: 289 Bytes

Contents

module Spree
  class SubscriptionEvent < ActiveRecord::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

14 entries across 14 versions & 1 rubygems

Version Path
spree_account_recurring-1.1.5 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.7 app/models/spree/subscription_event.rb
spree_account_recurring-1.1.4 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.6 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.5 app/models/spree/subscription_event.rb
spree_account_recurring-1.1.3 app/models/spree/subscription_event.rb
spree_account_recurring-1.1.2 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.4 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.3 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.2 app/models/spree/subscription_event.rb
spree_account_recurring-1.1.1 app/models/spree/subscription_event.rb
spree_account_recurring-1.1.0 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.1 app/models/spree/subscription_event.rb
spree_account_recurring-1.0.0 app/models/spree/subscription_event.rb