Class: Harkness::SeriesList

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/harkness/models/series_list.rb

Overview

A list of series.

Instance Attribute Summary collapse

Instance Attribute Details

#availableInteger (readonly)

Returns the number of total available series in this list. Will always be greater than or equal to the "returned" value.

Returns:

  • (Integer)

    the number of total available series in this list. Will always be greater than or equal to the "returned" value.



13
# File 'lib/harkness/models/series_list.rb', line 13

attribute :available, Shale::Type::Integer

#collectionURIString (readonly)

Returns the path to the full list of series in this collection.

Returns:

  • (String)

    the path to the full list of series in this collection.



19
# File 'lib/harkness/models/series_list.rb', line 19

attribute :collectionURI, Shale::Type::String

#itemsArray<Harkness::SeriesSummary> (readonly)

Returns the list of returned characters in this collection.

Returns:



22
# File 'lib/harkness/models/series_list.rb', line 22

attribute :items, Harkness::SeriesSummary, collection: true

#returnedInteger (readonly)

Returns the number of series returned in this collection (up to 20).

Returns:

  • (Integer)

    the number of series returned in this collection (up to 20).



16
# File 'lib/harkness/models/series_list.rb', line 16

attribute :returned, Shale::Type::Integer