Module: GoogleAppsOauth2::Atom

Includes:
LibXML
Defined in:
lib/google_apps_oauth2/atom/atom.rb,
lib/google_apps_oauth2/atom/feed.rb,
lib/google_apps_oauth2/atom/node.rb,
lib/google_apps_oauth2/atom/user.rb,
lib/google_apps_oauth2/atom/document.rb

Defined Under Namespace

Modules: Node Classes: Document, Feed, User

Constant Summary collapse

NAMESPACES =
{
  atom: 'http://www.w3.org/2005/Atom',
  apps: 'http://schemas.google.com/apps/2006',
  gd: 'http://schemas.google.com/g/2005',
  openSearch: 'http://a9.com/-/spec/opensearchrss/1.0/'
}
CATEGORY =
{
  user: [['scheme', 'http://schemas.google.com/g/2005#kind'], ['term', 'http://schemas.google.com/apps/2006#user']],
}
ENTRY_TAG =
["<atom:entry xmlns:atom=\"#{NAMESPACES[:atom]}\" xmlns:apps=\"#{NAMESPACES[:apps]}\" xmlns:gd=\"#{NAMESPACES[:gd]}\">", '</atom:entry>']

Class Method Summary collapse

Class Method Details

.user(*args) ⇒ Object



20
21
22
# File 'lib/google_apps_oauth2/atom/atom.rb', line 20

def user(*args)
  User.new *args
end