Sha256: efd05c2359a600d575b950e98e35cf5e3572f38d2f98ba63686a12c64410f250
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') require 'bundler/setup' require 'solidstate' class Subscriber include SolidState states :inactive, :active, :unsubscribed, :disabled do transitions :from => :inactive, :to => :active transitions :from => :active, :to => [:unsubscribed, :disabled] transitions :from => :unsubscribed, :to => :active end end class PaidSubscriber < Subscriber end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solidstate-0.4.5 | spec/spec_helper.rb |
solidstate-0.4.4 | spec/spec_helper.rb |
solidstate-0.4.3 | spec/spec_helper.rb |