Class: Harkness::ComicDate

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

Overview

The data of a comic.

Instance Attribute Summary collapse

Instance Attribute Details

#dateString (readonly)

Returns the date.

Returns:

  • (String)

    the date.



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

attribute :date, Shale::Type::String

#typeString (readonly)

Returns a description of the date (e.g. onsale date, FOC date).

Returns:

  • (String)

    a description of the date (e.g. onsale date, FOC date).



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

attribute :type, Shale::Type::String