Class: Harkness::Character
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- Harkness::Character
- Defined in:
- lib/harkness/models/character.rb
Overview
An individual character.
Instance Attribute Summary collapse
-
#comics ⇒ Harkness::ComicList
readonly
A resource list containing comics which feature this character.
-
#description ⇒ String
readonly
A short bio or description of the character.
-
#events ⇒ Harkness::EventList
readonly
A resource list of events in which this character appears.
-
#id ⇒ Integer
readonly
The unique ID of the character resource.
-
#modified ⇒ String
readonly
The date the resource was most recently modified.
-
#name ⇒ String
readonly
The name of the character.
-
#resourceURI ⇒ String
readonly
The canonical URL identifier for this resource.
-
#series ⇒ Harkness::SeriesList
readonly
A resource list of series in which this character appears.
-
#stories ⇒ Harkness::StoryList
readonly
A resource list of stories in which this character appears.
-
#thumbnail ⇒ Harkness::Image
readonly
The representative image for this character.
-
#urls ⇒ Array<Harkness::URL>
readonly
A set of public web site URLs for the resource.
Instance Attribute Details
#comics ⇒ Harkness::ComicList (readonly)
Returns a resource list containing comics which feature this character.
29 |
# File 'lib/harkness/models/character.rb', line 29 attribute :comics, Harkness::ComicList |
#description ⇒ String (readonly)
Returns a short bio or description of the character.
14 |
# File 'lib/harkness/models/character.rb', line 14 attribute :description, Shale::Type::String |
#events ⇒ Harkness::EventList (readonly)
Returns a resource list of events in which this character appears.
35 |
# File 'lib/harkness/models/character.rb', line 35 attribute :events, Harkness::EventList |
#id ⇒ Integer (readonly)
Returns the unique ID of the character resource.
8 |
# File 'lib/harkness/models/character.rb', line 8 attribute :id, Shale::Type::Integer |
#modified ⇒ String (readonly)
Returns the date the resource was most recently modified.
17 |
# File 'lib/harkness/models/character.rb', line 17 attribute :modified, Shale::Type::String |
#name ⇒ String (readonly)
Returns the name of the character.
11 |
# File 'lib/harkness/models/character.rb', line 11 attribute :name, Shale::Type::String |
#resourceURI ⇒ String (readonly)
Returns the canonical URL identifier for this resource.
20 |
# File 'lib/harkness/models/character.rb', line 20 attribute :resourceURI, Shale::Type::String |
#series ⇒ Harkness::SeriesList (readonly)
Returns a resource list of series in which this character appears.
38 |
# File 'lib/harkness/models/character.rb', line 38 attribute :series, Harkness::SeriesList |
#stories ⇒ Harkness::StoryList (readonly)
Returns a resource list of stories in which this character appears.
32 |
# File 'lib/harkness/models/character.rb', line 32 attribute :stories, Harkness::StoryList |
#thumbnail ⇒ Harkness::Image (readonly)
Returns the representative image for this character.
26 |
# File 'lib/harkness/models/character.rb', line 26 attribute :thumbnail, Harkness::Image |
#urls ⇒ Array<Harkness::URL> (readonly)
Returns a set of public web site URLs for the resource.
23 |
# File 'lib/harkness/models/character.rb', line 23 attribute :urls, Harkness::URL, collection: true |