Class: Spree::StockMovement

Inherits:
Object
  • Object
show all
Includes:
Webhooks
Defined in:
app/models/spree/stock_movement.rb,
app/models/spree/stock_movement/webhooks.rb

Defined Under Namespace

Modules: Webhooks

Constant Summary collapse

QUANTITY_LIMITS =
{
  max: 2**31 - 1,
  min: -2**31
}.freeze

Instance Method Summary collapse

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'app/models/spree/stock_movement.rb', line 31

def readonly?
  persisted?
end