Class: Spree::StateChange

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

Instance Method Summary (collapse)

Methods inherited from Base

display_includes, #initialize_preference_defaults, page, preference

Methods included from Preferences::Preferable

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

Instance Method Details

- (Object) <=>(other)



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

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

- (Object) assign_user



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

def assign_user
  true # don't stop the filters
end