Class: RSS::Maker::ImageItemModel::ImageItemBase

Inherits:
Object
  • Object
show all
Includes:
Base, DublinCoreModel
Defined in:
lib/rss/maker/image.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from DublinCoreModel

append_features, install_dublin_core

Methods included from Base

append_features, #initialize

Instance Attribute Details

#about ⇒ Object

Returns the value of attribute about.



32
33
34
# File 'lib/rss/maker/image.rb', line 32

def about
  @about
end

#image_height ⇒ Object Also known as: height

Returns the value of attribute image_height.



32
33
34
# File 'lib/rss/maker/image.rb', line 32

def image_height
  @image_height
end

#image_width ⇒ Object Also known as: width

Returns the value of attribute image_width.



32
33
34
# File 'lib/rss/maker/image.rb', line 32

def image_width
  @image_width
end

#resource ⇒ Object

Returns the value of attribute resource.



32
33
34
# File 'lib/rss/maker/image.rb', line 32

def resource
  @resource
end

Instance Method Details

#have_required_values? ⇒ Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/rss/maker/image.rb', line 42

def have_required_values?
  @about
end