Class: FeedTools::Image

Inherits:
Object
  • Object
show all
Defined in:
lib/feed_tools/feed_structures.rb

Overview

Represents a feed’s image

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

The image’s description



64
65
66
# File 'lib/feed_tools/feed_structures.rb', line 64

def description
  @description
end

#heightObject

The height of the image



72
73
74
# File 'lib/feed_tools/feed_structures.rb', line 72

def height
  @height
end

#hrefObject 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

The url to link the image to



68
69
70
# File 'lib/feed_tools/feed_structures.rb', line 68

def link
  @link
end

#styleObject

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

#titleObject

The image’s title



62
63
64
# File 'lib/feed_tools/feed_structures.rb', line 62

def title
  @title
end

#widthObject

The width of the image



70
71
72
# File 'lib/feed_tools/feed_structures.rb', line 70

def width
  @width
end