Class: Spree::StateChange

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

Instance Method Summary collapse

Methods inherited from Base

belongs_to_required_by_default, page, spree_base_scopes

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


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

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