Sha256: a6dbaf95fed24991d30215582af22285e82e377c81807cfb2dd3c8b37468fb8f

Contents?: true

Size: 993 Bytes

Versions: 11

Compression:

Stored size: 993 Bytes

Contents

module ExvoAuth::Config
  def self.debug
    @@debug = false unless defined?(@@debug)
    @@debug
  end

  def self.debug=(debug)
    @@debug = debug
  end

  def self.host 
    @@host ||= 'https://auth.exvo.com' 
  end
  
  def self.host=(host) 
    @@host = host 
  end
  
  def self.callback_key
    @@callback_key ||= '_callback'
  end
  
  def self.callback_key=(callback_key)
    @@callback_key = callback_key 
  end
  
  def self.client_id
    @@client_id ||= nil
  end
  
  def self.client_id=(client_id)
    @@client_id = client_id
  end
  
  def self.client_secret
    @@client_secret ||= nil 
  end

  def self.client_secret=(client_secret)
    @@client_secret = client_secret
  end
  
  def self.require_ssl
    @@require_ssl = true unless defined?(@@require_ssl)
    @@require_ssl
  end

  # Set this to false during development ONLY!
  def self.require_ssl=(require_ssl)
    @@require_ssl = require_ssl
  end
  
  def self.cfs_id
    "fb0e7bd5864aa0186630212d800af8a6"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
exvo-auth-0.12.2 lib/exvo_auth/config.rb
exvo-auth-0.12.1 lib/exvo_auth/config.rb
exvo-auth-0.12.0 lib/exvo_auth/config.rb
exvo-auth-0.11.2 lib/exvo_auth/config.rb
exvo-auth-0.11.1 lib/exvo_auth/config.rb
exvo-auth-0.11.0 lib/exvo_auth/config.rb
exvo-auth-0.10.4 lib/exvo_auth/config.rb
exvo-auth-0.10.3 lib/exvo_auth/config.rb
exvo-auth-0.10.2 lib/exvo_auth/config.rb
exvo-auth-0.10.1 lib/exvo_auth/config.rb
exvo-auth-0.10.0 lib/exvo_auth/config.rb