Class: Harkness::Story

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

Overview

An individual story

Instance Attribute Summary collapse

Instance Attribute Details

#charactersHarkness::CharacterList (readonly)

Returns a resource list of characters which appear in this story.

Returns:



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

attribute :characters, Harkness::CharacterList

#comicsHarkness::ComicList (readonly)

Returns a resource list containing comics in which this story takes place.

Returns:



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

attribute :comics, Harkness::ComicList

#descriptionString (readonly)

Returns a description of the story.

Returns:

  • (String)

    a description of the story.



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

attribute :description, Shale::Type::String

#eventsHarkness::EventList (readonly)

Returns a resource list of the events in which this story appears.

Returns:



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

attribute :events, Harkness::EventList

#idInteger (readonly)

Returns the unique ID of the story resource.

Returns:

  • (Integer)

    the unique ID of the story resource.



8
# File 'lib/harkness/models/story.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.



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

attribute :modified, Shale::Type::String

#originalIssueHarkness::ComicSummary (readonly)

Returns a summary representation of the issue in which this story was originally published.

Returns:

  • (Harkness::ComicSummary)

    a summary representation of the issue in which this story was originally published.



42
# File 'lib/harkness/models/story.rb', line 42

attribute :originalIssue, Harkness::ComicSummary

#resourceURIString (readonly)

Returns the canonical URL identifier for this resource.

Returns:

  • (String)

    the canonical URL identifier for this resource.



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

attribute :resourceURI, Shale::Type::String

#seriesHarkness::SeriesList (readonly)

Returns a resource list containing series in which this story appears.

Returns:



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

attribute :series, Harkness::SeriesList

#thumbnailString (readonly)

Returns the representative image for this story.

Returns:

  • (String)

    the representative image for this story.



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

attribute :thumbnail, Harkness::Image

#titleString (readonly)

Returns the canonical title of the story.

Returns:

  • (String)

    the canonical title of the story.



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

attribute :title, Shale::Type::String

#typeString (readonly)

Returns ' the story type e.g. interior story, cover, text story.

Returns:

  • (String)

    ' the story type e.g. interior story, cover, text story.



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

attribute :type, Shale::Type::String