Module: GoogleClient

Defined in:
lib/google_client.rb,
lib/google_client/user.rb,
lib/google_client/error.rb,
lib/google_client/event.rb,
lib/google_client/engine.rb,
lib/google_client/format.rb,
lib/google_client/contact.rb,
lib/google_client/profile.rb,
lib/google_client/version.rb,
lib/google_client/calendar.rb,
lib/google_client/http_connection.rb

Defined Under Namespace

Modules: Format Classes: Calendar, Contact, Engine, Event, HttpConnection, Profile, User

Constant Summary collapse

Error =
Class.new StandardError
NotFoundError =
Class.new Error
AuthenticationError =
Class.new Error
BadRequestError =
Class.new Error
ConflictError =
Class.new Error
VERSION =
"0.2.1"

Class Method Summary collapse

Class Method Details

.create_client(oauth_credentials) ⇒ Object



21
22
23
# File 'lib/google_client.rb', line 21

def create_client(oauth_credentials)
  User.new(oauth_credentials)
end