Sha256: fe57fb485c1ca1b11ab105a6f44b516eec22eda8d078d97f42bc2de6295d3d43

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

require 'active_support/configurable'

module GoogleSpreadsheetBulkFetcher
  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

2 entries across 2 versions & 1 rubygems

Version Path
google_spreadsheet_bulk_fetcher-1.0.1 lib/google_spreadsheet_bulk_fetcher/config.rb
google_spreadsheet_bulk_fetcher-1.0.0 lib/google_spreadsheet_bulk_fetcher/config.rb