Sha256: 8d9248f45a9bb5831f6c572264963a6b766bbc738c50aa707c853f93735f00e0

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

module GoogleSpreadsheetFetcher
  class Config
    include ActiveSupport::Configurable

    config_accessor :client_secrets_file
    config_accessor :credential_store_file
    config_accessor :scopes

    def self.default_config
      new.tap do |config|
        config.scopes = [Google::Apis::SheetsV4::AUTH_SPREADSHEETS_READONLY]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google_spreadsheet_fetcher-1.2.0 lib/google_spreadsheet_fetcher/config.rb
google_spreadsheet_fetcher-1.1.0 lib/google_spreadsheet_fetcher/config.rb
google_spreadsheet_fetcher-1.0.0 lib/google_spreadsheet_fetcher/config.rb