Class: Harkness::ComicList

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

Overview

A list of comics.

Instance Attribute Summary collapse

Instance Attribute Details

#availableInteger (readonly)

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

Returns:

  • (Integer)

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



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

attribute :available, Shale::Type::Integer

#collectionURIArray<Harkness::ComicSummary> (readonly)

Returns the list of returned issues in this collection.

Returns:



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

attribute :collectionURI, Shale::Type::String

#returnedInteger (readonly)

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

Returns:

  • (Integer)

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



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

attribute :returned, Shale::Type::Integer