Class: Harkness::Creator
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- Harkness::Creator
- Defined in:
- lib/harkness/models/creator.rb
Overview
An individual creator.
Instance Attribute Summary collapse
-
#comics ⇒ Harkness::ComicList
readonly
A resource list containing the comics which feature work by this creator.
-
#events ⇒ Harkness::EventList
readonly
A resource list containing the events which feature work by this creator.
-
#firstName ⇒ String
readonly
The first name of the creator.
-
#fullName ⇒ String
readonly
The full name of the creator (a space-separated concatenation of the above four fields).
-
#id ⇒ Integer
readonly
The unique ID of the creator resource.
-
#lastName ⇒ String
readonly
TThe last name of the creator.
-
#middleName ⇒ String
readonly
The middle name of the creator.
-
#modified ⇒ String
readonly
The date the resource was most recently modified.
-
#resourceURI ⇒ String
readonly
The canonical URL identifier for this resource.
-
#series ⇒ Harkness::SeriesList
readonly
A resource list containing the series which feature work by this creator.
-
#stories ⇒ Harkness::StoryList
readonly
A resource list containing the stories which feature work by this creator.
-
#suffix ⇒ String
readonly
The suffix or honorific for the creator.
-
#thumbnail ⇒ Harkness::Image
readonly
The representative image for this creator.
-
#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 the comics which feature work by this creator.
44 |
# File 'lib/harkness/models/creator.rb', line 44 attribute :comics, Harkness::ComicList |
#events ⇒ Harkness::EventList (readonly)
Returns a resource list containing the events which feature work by this creator.
47 |
# File 'lib/harkness/models/creator.rb', line 47 attribute :events, Harkness::EventList |
#firstName ⇒ String (readonly)
Returns the first name of the creator.
11 |
# File 'lib/harkness/models/creator.rb', line 11 attribute :firstName, Shale::Type::String |
#fullName ⇒ String (readonly)
Returns the full name of the creator (a space-separated concatenation of the above four fields).
23 |
# File 'lib/harkness/models/creator.rb', line 23 attribute :fullName, Shale::Type::String |
#id ⇒ Integer (readonly)
Returns the unique ID of the creator resource.
8 |
# File 'lib/harkness/models/creator.rb', line 8 attribute :id, Shale::Type::Integer |
#lastName ⇒ String (readonly)
Returns tThe last name of the creator.
17 |
# File 'lib/harkness/models/creator.rb', line 17 attribute :lastName, Shale::Type::String |
#middleName ⇒ String (readonly)
Returns the middle name of the creator.
14 |
# File 'lib/harkness/models/creator.rb', line 14 attribute :middleName, Shale::Type::String |
#modified ⇒ String (readonly)
Returns the date the resource was most recently modified.
26 |
# File 'lib/harkness/models/creator.rb', line 26 attribute :modified, Shale::Type::String |
#resourceURI ⇒ String (readonly)
Returns the canonical URL identifier for this resource.
29 |
# File 'lib/harkness/models/creator.rb', line 29 attribute :resourceURI, Shale::Type::String |
#series ⇒ Harkness::SeriesList (readonly)
Returns a resource list containing the series which feature work by this creator.
38 |
# File 'lib/harkness/models/creator.rb', line 38 attribute :series, Harkness::SeriesList |
#stories ⇒ Harkness::StoryList (readonly)
Returns A resource list containing the stories which feature work by this creator.
41 |
# File 'lib/harkness/models/creator.rb', line 41 attribute :stories, Harkness::StoryList |
#suffix ⇒ String (readonly)
Returns the suffix or honorific for the creator.
20 |
# File 'lib/harkness/models/creator.rb', line 20 attribute :suffix, Shale::Type::String |
#thumbnail ⇒ Harkness::Image (readonly)
Returns the representative image for this creator.
35 |
# File 'lib/harkness/models/creator.rb', line 35 attribute :thumbnail, Harkness::Image |
#urls ⇒ Array<Harkness::URL> (readonly)
Returns a set of public web site URLs for the resource.
32 |
# File 'lib/harkness/models/creator.rb', line 32 attribute :urls, Harkness::URL, collection: true |