Class: Harkness::Series

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

Overview

An individual series.

Instance Attribute Summary collapse

Instance Attribute Details

#charactersHarkness::CharacterList (readonly)

Returns a resource list containing characters which appear in comics in this series.

Returns:



47
# File 'lib/harkness/models/series.rb', line 47

attribute :characters, Harkness::CharacterList

#comicsHarkness::ComicList (readonly)

Returns : a resource list containing comics in this series.

Returns:



38
# File 'lib/harkness/models/series.rb', line 38

attribute :comics, Harkness::ComicList

#creatorsHarkness::CreatorList (readonly)

Returns a resource list of creators whose work appears in comics in this series.

Returns:



50
# File 'lib/harkness/models/series.rb', line 50

attribute :creators, Harkness::CreatorList

#descriptionString (readonly)

Returns a description of the series.

Returns:

  • (String)

    a description of the series.



14
# File 'lib/harkness/models/series.rb', line 14

attribute :description, Shale::Type::String

#endYearInteger (readonly)

Returns the last year of publication for the series (conventionally, 2099 for ongoing series).

Returns:

  • (Integer)

    the last year of publication for the series (conventionally, 2099 for ongoing series).



26
# File 'lib/harkness/models/series.rb', line 26

attribute :endYear, Shale::Type::Integer

#eventsHarkness::EventList (readonly)

Returns a resource list containing events which take place in comics in this series.

Returns:

  • (Harkness::EventList)

    a resource list containing events which take place in comics in this series.



44
# File 'lib/harkness/models/series.rb', line 44

attribute :events, Harkness::EventList

#idInteger (readonly)

Returns the unique ID of the series resource.

Returns:

  • (Integer)

    the unique ID of the series resource.



8
# File 'lib/harkness/models/series.rb', line 8

attribute :id, Shale::Type::Integer

#modifiedString (readonly)

Returns the date the resource was most recently modified.

Returns:

  • (String)

    the date the resource was most recently modified.



32
# File 'lib/harkness/models/series.rb', line 32

attribute :modified, Shale::Type::String

#nextHarkness::SeriesSummary (readonly)

Returns a summary representation of the series which preceded this series.

Returns:



53
# File 'lib/harkness/models/series.rb', line 53

attribute :next, Harkness::SeriesSummary

#ratingString (readonly)

Returns the age-appropriateness rating for the series.

Returns:

  • (String)

    the age-appropriateness rating for the series.



29
# File 'lib/harkness/models/series.rb', line 29

attribute :rating, Shale::Type::String

#resourceURIString (readonly)

Returns the canonical URL identifier for this resource.

Returns:

  • (String)

    the canonical URL identifier for this resource.



17
# File 'lib/harkness/models/series.rb', line 17

attribute :resourceURI, Shale::Type::String

#startYearInteger (readonly)

Returns the first year of publication for the series.

Returns:

  • (Integer)

    the first year of publication for the series.



23
# File 'lib/harkness/models/series.rb', line 23

attribute :startYear, Shale::Type::Integer

#storiesHarkness::StoryList (readonly)

Returns a resource list containing stories which occur in comics in this series.

Returns:

  • (Harkness::StoryList)

    a resource list containing stories which occur in comics in this series.



41
# File 'lib/harkness/models/series.rb', line 41

attribute :stories, Harkness::StoryList

#thumbnailHarkness::Image (readonly)

Returns the representative image for this SERIES.

Returns:



35
# File 'lib/harkness/models/series.rb', line 35

attribute :thumbnail, Harkness::Image

#titleString (readonly)

Returns the canonical title of the series.

Returns:

  • (String)

    the canonical title of the series.



11
# File 'lib/harkness/models/series.rb', line 11

attribute :title, Shale::Type::String

#urlsArray<Harkness::URL> (readonly)

Returns a set of public web site URLs for the resource.

Returns:

  • (Array<Harkness::URL>)

    a set of public web site URLs for the resource.



20
# File 'lib/harkness/models/series.rb', line 20

attribute :urls, Harkness::URL, collection: true