Class: Spree::StateChange

Inherits:
Base
  • Object
show all
Defined in:
app/models/spree/state_change.rb

Instance Method Summary collapse

Methods inherited from Base

page

Methods included from Preferences::Preferable

#clear_preferences, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference

Instance Method Details

#<=>(other) ⇒ Object


7
8
9
# File 'app/models/spree/state_change.rb', line 7

def <=>(other)
  created_at <=> other.created_at
end

#assign_userObject


11
12
13
# File 'app/models/spree/state_change.rb', line 11

def assign_user
  true   # don't stop the filters
end