Class: Syndication::Atom::Person
- Defined in:
- lib/syndication/atom.rb
Overview
A person, corporation or similar entity within an Atom feed.
Instance Attribute Summary collapse
-
#email ⇒ Object
RFC2822 e-mail address of person.
-
#name ⇒ Object
Human-readable name of person.
-
#uri ⇒ Object
URI associated with the person.
Instance Method Summary collapse
-
#url=(x) ⇒ Object
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
#email ⇒ Object
RFC2822 e-mail address of person.
263 264 265 |
# File 'lib/syndication/atom.rb', line 263 def email @email end |
#name ⇒ Object
Human-readable name of person.
261 262 263 |
# File 'lib/syndication/atom.rb', line 261 def name @name end |
#uri ⇒ Object
URI associated with the person.
262 263 264 |
# File 'lib/syndication/atom.rb', line 262 def uri @uri end |
Instance Method Details
#url=(x) ⇒ Object
For Atom 0.3 compatibility
266 267 268 |
# File 'lib/syndication/atom.rb', line 266 def url=(x) @uri = x end |