Class: FeedTools::Author

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

Overview

Represents a feed/feed item’s author

Instance Attribute Summary collapse

Instance Attribute Details

#emailObject

The author’s email address



46
47
48
# File 'lib/feed_tools/feed_structures.rb', line 46

def email
  @email
end

#hrefObject Also known as: url, uri

The url of the author’s homepage



48
49
50
# File 'lib/feed_tools/feed_structures.rb', line 48

def href
  @href
end

#nameObject

The author’s real name



44
45
46
# File 'lib/feed_tools/feed_structures.rb', line 44

def name
  @name
end

#rawObject

The raw value of the author tag if present



50
51
52
# File 'lib/feed_tools/feed_structures.rb', line 50

def raw
  @raw
end