Class: Syndication::Atom::Person
- Inherits:
-
Container
- Object
- Container
- Syndication::Atom::Person
- Defined in:
- lib/syndication/atom.rb
Overview
A person, corporation or similar entity within an Atom feed.
Instance Attribute Summary (collapse)
-
- (Object) email
RFC2822 e-mail address of person.
-
- (Object) name
Human-readable name of person.
-
- (Object) uri
URI associated with the person.
Instance Method Summary (collapse)
-
- (Object) url=(x)
For Atom 0.3 compatibility.
Methods inherited from Container
#initialize, #parse_date, #store, #store_category, #strip, #tag2method, #tag_end, #tag_start
Constructor Details
This class inherits a constructor from Syndication::Container
Instance Attribute Details
- (Object) email
RFC2822 e-mail address of person.
263 264 265 |
# File 'lib/syndication/atom.rb', line 263 def email @email end |
- (Object) name
Human-readable name of person.
261 262 263 |
# File 'lib/syndication/atom.rb', line 261 def name @name end |
- (Object) uri
URI associated with the person.
262 263 264 |
# File 'lib/syndication/atom.rb', line 262 def uri @uri end |
Instance Method Details
- (Object) url=(x)
For Atom 0.3 compatibility
266 267 268 |
# File 'lib/syndication/atom.rb', line 266 def url=(x) @uri = x end |