Sha256: 35d50f11e1d19b402fd25e3dc287dee039d7d3f31743aff48327a26701d5798b

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

require 'google/api_client/auth/storages/file_store'

class Google::APIClient::FileStore
  alias write_credentials_orig write_credentials

  def write_credentials(credentials_hash)
    write_credentials_orig(credentials_hash)
    FileUtils.chmod(0600, path)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google_drive-persistent_session-0.3.0 lib/google_drive/persistent_session/file_store_ext.rb
google_drive-persistent_session-0.2.0 lib/google_drive/persistent_session/file_store_ext.rb
google_drive-persistent_session-0.1.4.beta lib/google_drive/persistent_session/file_store_ext.rb