Sha256: a6af79d46a0e8c58ecf1480ae01418e140f189e97f07c18ef3fe397685b91e28

Contents?: true

Size: 399 Bytes

Versions: 5

Compression:

Stored size: 399 Bytes

Contents

require 'active_support/configurable'

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

5 entries across 5 versions & 1 rubygems

Version Path
google_spreadsheet_fetcher-1.7.0 lib/google_spreadsheet_fetcher/config.rb
google_spreadsheet_fetcher-1.6.0 lib/google_spreadsheet_fetcher/config.rb
google_spreadsheet_fetcher-1.5.0 lib/google_spreadsheet_fetcher/config.rb
google_spreadsheet_fetcher-1.4.0 lib/google_spreadsheet_fetcher/config.rb
google_spreadsheet_fetcher-1.3.0 lib/google_spreadsheet_fetcher/config.rb