Class: FbaseAuth::Config
- Inherits:
-
Object
- Object
- FbaseAuth::Config
- Defined in:
- lib/fbase_auth/config.rb
Constant Summary collapse
- HOST =
"https://identitytoolkit.googleapis.com/v1/accounts:"
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#return_secure_token ⇒ Object
Returns the value of attribute return_secure_token.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 12 13 |
# File 'lib/fbase_auth/config.rb', line 9 def initialize @api_key = "" @host = HOST @return_secure_token = true end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
7 8 9 |
# File 'lib/fbase_auth/config.rb', line 7 def api_key @api_key end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
6 7 8 |
# File 'lib/fbase_auth/config.rb', line 6 def host @host end |
#return_secure_token ⇒ Object
Returns the value of attribute return_secure_token.
7 8 9 |
# File 'lib/fbase_auth/config.rb', line 7 def return_secure_token @return_secure_token end |