Class: Harkness::Creator

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

Overview

An individual creator.

Instance Attribute Summary collapse

Instance Attribute Details

#comicsHarkness::ComicList (readonly)

Returns a resource list containing the comics which feature work by this creator.

Returns:

  • (Harkness::ComicList)

    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

#eventsHarkness::EventList (readonly)

Returns a resource list containing the events which feature work by this creator.

Returns:

  • (Harkness::EventList)

    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

#firstNameString (readonly)

Returns the first name of the creator.

Returns:

  • (String)

    the first name of the creator.



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

attribute :firstName, Shale::Type::String

#fullNameString (readonly)

Returns the full name of the creator (a space-separated concatenation of the above four fields).

Returns:

  • (String)

    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

#idInteger (readonly)

Returns the unique ID of the creator resource.

Returns:

  • (Integer)

    the unique ID of the creator resource.



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

attribute :id, Shale::Type::Integer

#lastNameString (readonly)

Returns tThe last name of the creator.

Returns:

  • (String)

    tThe last name of the creator.



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

attribute :lastName, Shale::Type::String

#middleNameString (readonly)

Returns the middle name of the creator.

Returns:

  • (String)

    the middle name of the creator.



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

attribute :middleName, Shale::Type::String

#modifiedString (readonly)

Returns the date the resource was most recently modified.

Returns:

  • (String)

    the date the resource was most recently modified.



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

attribute :modified, Shale::Type::String

#resourceURIString (readonly)

Returns the canonical URL identifier for this resource.

Returns:

  • (String)

    the canonical URL identifier for this resource.



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

attribute :resourceURI, Shale::Type::String

#seriesHarkness::SeriesList (readonly)

Returns a resource list containing the series which feature work by this creator.

Returns:

  • (Harkness::SeriesList)

    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

#storiesHarkness::StoryList (readonly)

Returns A resource list containing the stories which feature work by this creator.

Returns:

  • (Harkness::StoryList)

    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

#suffixString (readonly)

Returns the suffix or honorific for the creator.

Returns:

  • (String)

    the suffix or honorific for the creator.



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

attribute :suffix, Shale::Type::String

#thumbnailHarkness::Image (readonly)

Returns the representative image for this creator.

Returns:



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

attribute :thumbnail, Harkness::Image

#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.



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

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