Class: Spree::StockMovement

Inherits:
Base
  • Object
show all
Defined in:
app/models/spree/stock_movement.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

- (Boolean) readonly?

Returns:

  • (Boolean)


15
16
17
# File 'app/models/spree/stock_movement.rb', line 15

def readonly?
  !new_record?
end