Method: JSONAPI::Collection#size

Defined in:
lib/easy/jsonapi/collection.rb

#sizeInteger

Returns The number of items in the collection.

Returns:

  • (Integer)

    The number of items in the collection



108
109
110
# File 'lib/easy/jsonapi/collection.rb', line 108

def size
  @collection.size
end