Module: Oos4ruby

Defined in:
lib/oos4ruby/version.rb,
lib/oos4ruby.rb,
lib/oos4ruby/oos.rb,
lib/oos4ruby/bean.rb,
lib/oos4ruby/feed.rb,
lib/oos4ruby/site.rb,
lib/oos4ruby/user.rb,
lib/oos4ruby/entry.rb,
lib/oos4ruby/media.rb,
lib/oos4ruby/sites.rb,
lib/oos4ruby/medias.rb,
lib/oos4ruby/search.rb,
lib/oos4ruby/contact.rb,
lib/oos4ruby/service.rb,
lib/oos4ruby/category.rb,
lib/oos4ruby/contacts.rb,
lib/oos4ruby/collection.rb,
lib/oos4ruby/http_invoker.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Bean, VERSION Classes: Category, Collection, Contact, Contacts, Entry, Feed, HTTPInvoker, Media, Medias, Oos, Search, Service, Site, Sites, UnknownUser, User

Constant Summary collapse

AtomNamespace =
'http://www.w3.org/2005/Atom'
AppNamespace =
'http://www.w3.org/2007/app'
OosNamespace =
'http://11870.com/api/oos'
XhtmlNamespace =
'http://www.w3.org/1999/xhtml'
GeoRSSNamespace =
'http://www.georss.org/georss/10'
GmlNamespace =
'http://www.opengis.net/gml'
OsNamespace =
'http://a9.com/-/spec/opensearch/1.1/'
XmlNamespaces =
{
  'app' => AppNamespace,
  'atom' =>  AtomNamespace,    
  'xhtml' => XhtmlNamespace,
  'oos' => OosNamespace,
  'georss' => GeoRSSNamespace,
  'gml' => GmlNamespace,
  'os' => OsNamespace
}
AtomEntryContentType =
'application/atom+xml;type=entry'
OOS_URL =
'http://11870.com'
API_URL =
OOS_URL + '/api/v1'
SITES_URL =
Oos4ruby::API_URL + '/sites'
CONTACTS_URL =
Oos4ruby::API_URL + '/contacts'
USERS_URL =
Oos4ruby::API_URL + '/users'
TAGS_URL =
API_URL + '/tags'
LISTS_URL =
API_URL + '/lists'
PRIVACY_URL =
API_URL + '/privacy'
TRUSTED_URL =
API_URL + '/trusted'
SEARCH_URL =
API_URL + '/search'