lib/datapimp/clients/google.rb in datapimp-1.0.1 vs lib/datapimp/clients/google.rb in datapimp-1.0.2

- old
+ new

@@ -10,10 +10,14 @@ super end def self.client(options={}) - require 'google_drive' unless defined?(::GoogleDrive) + unless defined?(::GoogleDrive) + require 'google_drive' + require 'google/api_client' + require 'google_drive/session' + end @client ||= begin instance.with_options(options) end end