Class: ActiveTranslation::Configuration
- Inherits:
-
Object
- Object
- ActiveTranslation::Configuration
- Defined in:
- lib/active_translation/configuration.rb
Instance Attribute Summary collapse
-
#auth_provider_x509_cert_url ⇒ Object
Returns the value of attribute auth_provider_x509_cert_url.
-
#auth_uri ⇒ Object
Returns the value of attribute auth_uri.
-
#client_email ⇒ Object
Returns the value of attribute client_email.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_x509_cert_url ⇒ Object
Returns the value of attribute client_x509_cert_url.
-
#non_mock_environments ⇒ Object
Returns the value of attribute non_mock_environments.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#private_key_id ⇒ Object
Returns the value of attribute private_key_id.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#token_uri ⇒ Object
Returns the value of attribute token_uri.
-
#type ⇒ Object
Returns the value of attribute type.
-
#universe_domain ⇒ Object
Returns the value of attribute universe_domain.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/active_translation/configuration.rb', line 16 def initialize @type = nil @project_id = nil @private_key_id = nil @private_key = nil @client_email = nil @client_id = nil @auth_uri = "https://accounts.google.com/o/oauth2/auth" @token_uri = "https://oauth2.googleapis.com/token" @auth_provider_x509_cert_url = "https://www.googleapis.com/oauth2/v1/certs" @client_x509_cert_url = nil @universe_domain = "googleapis.com" @non_mock_environments = [ :production ] end |
Instance Attribute Details
#auth_provider_x509_cert_url ⇒ Object
Returns the value of attribute auth_provider_x509_cert_url.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def auth_provider_x509_cert_url @auth_provider_x509_cert_url end |
#auth_uri ⇒ Object
Returns the value of attribute auth_uri.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def auth_uri @auth_uri end |
#client_email ⇒ Object
Returns the value of attribute client_email.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def client_email @client_email end |
#client_id ⇒ Object
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def client_id @client_id end |
#client_x509_cert_url ⇒ Object
Returns the value of attribute client_x509_cert_url.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def client_x509_cert_url @client_x509_cert_url end |
#non_mock_environments ⇒ Object
Returns the value of attribute non_mock_environments.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def non_mock_environments @non_mock_environments end |
#private_key ⇒ Object
Returns the value of attribute private_key.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def private_key @private_key end |
#private_key_id ⇒ Object
Returns the value of attribute private_key_id.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def private_key_id @private_key_id end |
#project_id ⇒ Object
Returns the value of attribute project_id.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def project_id @project_id end |
#token_uri ⇒ Object
Returns the value of attribute token_uri.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def token_uri @token_uri end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def type @type end |
#universe_domain ⇒ Object
Returns the value of attribute universe_domain.
3 4 5 |
# File 'lib/active_translation/configuration.rb', line 3 def universe_domain @universe_domain end |