Sha256: 33b057daa57aa445a9fe2f23d6b3f5530d62d903068b625a8d7db110ac6100f4
Contents?: true
Size: 687 Bytes
Versions: 1
Compression:
Stored size: 687 Bytes
Contents
require 'libxml' module GoogleAppsOauth2 module Atom include LibXML 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>'] def user(*args) User.new *args end module_function :user end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
google_apps_oauth2-0.1 | lib/google_apps_oauth2/atom/atom.rb |