lib/google_apis.rb in google-apis-0.1.3 vs lib/google_apis.rb in google-apis-0.1.4
- old
+ new
@@ -8,10 +8,15 @@
module GoogleApis
class Error < StandardError; end
def self.connect(options)
- @connection = Connection.new options
+ @config = options.symbolize_keys
+ @connection = Connection.new config
+ end
+
+ def self.config
+ @config || {}
end
def self.connection
@connection
end