Sha256: cd59550e29cd769b3b1f9898fdf63d4cab6302595e96d2b23ca225e3bfc5f31d

Contents?: true

Size: 358 Bytes

Versions: 13

Compression:

Stored size: 358 Bytes

Contents

require File.dirname(__FILE__) + "/../cli/setup"

SparkApi.configure do |config|
  config.api_key = ENV["API_KEY"] 
  config.api_secret = ENV["API_SECRET"]
  config.api_user = ENV["API_USER"] if ENV["API_USER"]
  config.endpoint = ENV["API_ENDPOINT"] if ENV["API_ENDPOINT"]
  config.ssl_verify = ! (ENV["NO_VERIFY"].downcase=='true') if ENV["NO_VERIFY"]
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spark_api-1.3.17 lib/spark_api/cli/api_auth.rb
spark_api-1.3.16 lib/spark_api/cli/api_auth.rb
spark_api-1.3.15 lib/spark_api/cli/api_auth.rb
spark_api-1.3.14 lib/spark_api/cli/api_auth.rb
spark_api-1.3.13 lib/spark_api/cli/api_auth.rb
spark_api-1.3.10 lib/spark_api/cli/api_auth.rb
spark_api-1.3.9 lib/spark_api/cli/api_auth.rb
spark_api-1.3.6 lib/spark_api/cli/api_auth.rb
spark_api-1.3.3 lib/spark_api/cli/api_auth.rb
spark_api-1.3.1 lib/spark_api/cli/api_auth.rb
spark_api-1.3.0 lib/spark_api/cli/api_auth.rb
spark_api-1.2.1 lib/spark_api/cli/api_auth.rb
spark_api-1.2.0 lib/spark_api/cli/api_auth.rb