Class: Harkness::ComicPrice
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- Harkness::ComicPrice
- Defined in:
- lib/harkness/models/comic.rb
Overview
The price of a comic.
Instance Attribute Summary collapse
-
#price ⇒ Float
readonly
The price (all prices in USD).
-
#type ⇒ String
readonly
A description of the price (e.g. print price, digital price).
Instance Attribute Details
#price ⇒ Float (readonly)
Returns the price (all prices in USD).
21 |
# File 'lib/harkness/models/comic.rb', line 21 attribute :price, Shale::Type::Float |
#type ⇒ String (readonly)
Returns a description of the price (e.g. print price, digital price).
18 |
# File 'lib/harkness/models/comic.rb', line 18 attribute :type, Shale::Type::String |