Class: FeedTools::Image
- Inherits:
-
Object
- Object
- FeedTools::Image
- Defined in:
- lib/feed_tools/feed_structures.rb
Overview
Represents a feed’s image
Instance Attribute Summary collapse
-
#description ⇒ Object
The image’s description.
-
#height ⇒ Object
The height of the image.
-
#href ⇒ Object
(also: #url)
The url of the image that is being linked to.
-
#link ⇒ Object
The url to link the image to.
-
#style ⇒ Object
The style of the image Possible values are “icon”, “image”, or “image-wide”.
-
#title ⇒ Object
The image’s title.
-
#width ⇒ Object
The width of the image.
Instance Attribute Details
#description ⇒ Object
The image’s description
64 65 66 |
# File 'lib/feed_tools/feed_structures.rb', line 64 def description @description end |
#height ⇒ Object
The height of the image
72 73 74 |
# File 'lib/feed_tools/feed_structures.rb', line 72 def height @height end |
#href ⇒ Object Also known as: url
The url of the image that is being linked to
66 67 68 |
# File 'lib/feed_tools/feed_structures.rb', line 66 def href @href end |
#link ⇒ Object
The url to link the image to
68 69 70 |
# File 'lib/feed_tools/feed_structures.rb', line 68 def link @link end |
#style ⇒ Object
The style of the image Possible values are “icon”, “image”, or “image-wide”
75 76 77 |
# File 'lib/feed_tools/feed_structures.rb', line 75 def style @style end |
#title ⇒ Object
The image’s title
62 63 64 |
# File 'lib/feed_tools/feed_structures.rb', line 62 def title @title end |
#width ⇒ Object
The width of the image
70 71 72 |
# File 'lib/feed_tools/feed_structures.rb', line 70 def width @width end |