Method: Falsify::Collect#position

Defined in:
lib/falsify/models/product/collection/collect.rb

#positionInteger

The position of this product in a manually sorted custom collection. The first position is 1. This value is applied only when the custom collection is sorted manually.

Returns:

  • (Integer)


17
18
19
# File 'lib/falsify/models/product/collection/collect.rb', line 17

def position
  @position
end