Sha256: 609f204b2aec6d474a441774733f52aa010bd7e5db3ba0eafc860a80fa014205

Contents?: true

Size: 855 Bytes

Versions: 3

Compression:

Stored size: 855 Bytes

Contents

require 'json'
require "google_client/version"

require 'google_client/engine' if defined?(Rails)

module GoogleClient
  
  autoload :AuthenticationError, 'google_client/error'
  autoload :BadRequestError    , 'google_client/error'
  autoload :Calendar           , 'google_client/calendar'
  autoload :Contact            , 'google_client/contact'
  autoload :Error              , 'google_client/error'
  autoload :Event              , 'google_client/event'
  autoload :Format             , 'google_client/format'
  autoload :HttpConnection     , 'google_client/http_connection'
  autoload :NotFoundError      , 'google_client/error'
  autoload :Profile            , 'google_client/profile'
  autoload :User               , 'google_client/user'

  class << self
    def create_client(oauth_credentials)
      User.new(oauth_credentials)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google_client-0.2.1 lib/google_client.rb
google_client-0.2.0 lib/google_client.rb
google_client-0.1.0 lib/google_client.rb