Class: Spree::StockMovement

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

Instance Method Summary collapse

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)

13
14
15
# File 'app/models/spree/stock_movement.rb', line 13

def readonly?
  !new_record?
end