lib/google_apps/atom/atom.rb in google_apps-0.4.9 vs lib/google_apps/atom/atom.rb in google_apps-0.4.9.1

- old
+ new

@@ -42,10 +42,10 @@ #group: [['scheme', 'http://schemas.google.com/g/2005#kind'], ['term', 'http://schemas.google.com/apps/2006#group']] } ENTRY_TAG = ["<atom:entry xmlns:atom=\"#{NAMESPACES[:atom]}\" xmlns:apps=\"#{NAMESPACES[:apps]}\" xmlns:gd=\"#{NAMESPACES[:gd]}\">", '</atom:entry>'] - DOCUMENTS = %w(user export group group_member message_attributes public_key feed) + DOCUMENTS = %w(user export group group_member message_attributes public_key feed nickname) # The idea is to make document distribution more dynamic. # Might be pointless but it's here for now. DOCUMENTS.each do |doc| eval "def #{doc}(*args)\n #{doc.camel_up}.new *args\nend" # Needs __file__ and __line__ \ No newline at end of file