Class: Harkness::Story
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- Harkness::Story
- Defined in:
- lib/harkness/models/story.rb
Overview
An individual story
Instance Attribute Summary collapse
-
#characters ⇒ Harkness::CharacterList
readonly
A resource list of characters which appear in this story.
-
#comics ⇒ Harkness::ComicList
readonly
A resource list containing comics in which this story takes place.
-
#description ⇒ String
readonly
A description of the story.
-
#events ⇒ Harkness::EventList
readonly
A resource list of the events in which this story appears.
-
#id ⇒ Integer
readonly
The unique ID of the story resource.
-
#modified ⇒ String
readonly
The date the resource was most recently modified.
-
#originalIssue ⇒ Harkness::ComicSummary
readonly
A summary representation of the issue in which this story was originally published.
-
#resourceURI ⇒ String
readonly
The canonical URL identifier for this resource.
-
#series ⇒ Harkness::SeriesList
readonly
A resource list containing series in which this story appears.
-
#thumbnail ⇒ String
readonly
The representative image for this story.
-
#title ⇒ String
readonly
The canonical title of the story.
-
#type ⇒ String
readonly
' the story type e.g.
Instance Attribute Details
#characters ⇒ Harkness::CharacterList (readonly)
Returns a resource list of characters which appear in this story.
38 |
# File 'lib/harkness/models/story.rb', line 38 attribute :characters, Harkness::CharacterList |
#comics ⇒ Harkness::ComicList (readonly)
Returns a resource list containing comics in which this story takes place.
29 |
# File 'lib/harkness/models/story.rb', line 29 attribute :comics, Harkness::ComicList |
#description ⇒ String (readonly)
Returns a description of the story.
14 |
# File 'lib/harkness/models/story.rb', line 14 attribute :description, Shale::Type::String |
#events ⇒ Harkness::EventList (readonly)
Returns a resource list of the events in which this story appears.
35 |
# File 'lib/harkness/models/story.rb', line 35 attribute :events, Harkness::EventList |
#id ⇒ Integer (readonly)
Returns the unique ID of the story resource.
8 |
# File 'lib/harkness/models/story.rb', line 8 attribute :id, Shale::Type::Integer |
#modified ⇒ String (readonly)
Returns the date the resource was most recently modified.
23 |
# File 'lib/harkness/models/story.rb', line 23 attribute :modified, Shale::Type::String |
#originalIssue ⇒ Harkness::ComicSummary (readonly)
Returns 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 |
#resourceURI ⇒ String (readonly)
Returns the canonical URL identifier for this resource.
17 |
# File 'lib/harkness/models/story.rb', line 17 attribute :resourceURI, Shale::Type::String |
#series ⇒ Harkness::SeriesList (readonly)
Returns a resource list containing series in which this story appears.
32 |
# File 'lib/harkness/models/story.rb', line 32 attribute :series, Harkness::SeriesList |
#thumbnail ⇒ String (readonly)
Returns the representative image for this story.
26 |
# File 'lib/harkness/models/story.rb', line 26 attribute :thumbnail, Harkness::Image |
#title ⇒ String (readonly)
Returns the canonical title of the story.
11 |
# File 'lib/harkness/models/story.rb', line 11 attribute :title, Shale::Type::String |
#type ⇒ String (readonly)
Returns ' the story type e.g. interior story, cover, text story.
20 |
# File 'lib/harkness/models/story.rb', line 20 attribute :type, Shale::Type::String |