Class: Harkness::Image

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

Overview

An image.

Instance Attribute Summary collapse

Instance Attribute Details

#extensionString (readonly)

Returns the file extension for the image.

Returns:

  • (String)

    the file extension for the image.



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

attribute :extension, Shale::Type::String

#pathString (readonly)

Returns the directory path of to the image.,.

Returns:

  • (String)

    the directory path of to the image.,



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

attribute :path, Shale::Type::String