Class: Syndication::Atom::Person

Inherits:
Container show all
Defined in:
lib/syndication/atom.rb

Overview

A person, corporation or similar entity within an Atom feed.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#emailObject

RFC2822 e-mail address of person.



263
264
265
# File 'lib/syndication/atom.rb', line 263

def email
  @email
end

#nameObject

Human-readable name of person.



261
262
263
# File 'lib/syndication/atom.rb', line 261

def name
  @name
end

#uriObject

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