Class: Caffeinate::InvalidState

Inherits:
ActiveRecord::RecordInvalid
  • Object
show all
Defined in:
app/models/caffeinate/campaign_subscription.rb

Overview

If a record tries to be ‘unsubscribed!` or `ended!` or `resubscribe!` and it’s in a state that is not correct, raise this