Class: Harkness::CreatorList

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

Overview

A list of creators.

Instance Attribute Summary collapse

Instance Attribute Details

#availableInteger (readonly)

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

Returns:

  • (Integer)

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



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

attribute :available, Shale::Type::Integer

#collectionURIString (readonly)

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

Returns:

  • (String)

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



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

attribute :collectionURI, Shale::Type::String

#offsetArray<Harkness::CreatorySummary> (readonly)

Returns the list of returned creators in this collection.

Returns:

  • (Array<Harkness::CreatorySummary>)

    the list of returned creators in this collection.



25
# File 'lib/harkness/models/creator_list.rb', line 25

attribute :items, Harkness::CreatorSummary, collection: true

#returnedInteger (readonly)

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

Returns:

  • (Integer)

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



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

attribute :returned, Shale::Type::Integer