Sha256: 2317fb40df6b4bcb985fd5e9df1bd9d2cc938816ffbe61ef1aa82003e55b2b6f

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

require "google/api_client"

require "google_apis/core_ext"
require "google_apis/connection"
require "google_apis/api"
require "google_apis/version"

module GoogleApis

  class Error < StandardError; end

  def self.connect(options)
    @config = options.symbolize_keys
    @connection = Connection.new config
  end

  def self.config
    @config || {}
  end

  def self.connection
    @connection
  end

end

Faraday.default_adapter = :httpclient

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google-apis-0.1.7 lib/google_apis.rb
google-apis-0.1.6 lib/google_apis.rb
google-apis-0.1.5 lib/google_apis.rb
google-apis-0.1.4 lib/google_apis.rb