Class: FirebaseIdtoken::Configuration
- Inherits:
-
Object
- Object
- FirebaseIdtoken::Configuration
- Defined in:
- lib/firebase_idtoken/configuration.rb
Instance Attribute Summary collapse
-
#cache_path ⇒ Object
Returns the value of attribute cache_path.
-
#cache_time ⇒ Object
Returns the value of attribute cache_time.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 |
# File 'lib/firebase_idtoken/configuration.rb', line 4 def initialize @project_id = nil @cache_path = 'tmp/firebase_public_key' @cache_time = 60 * 60 end |
Instance Attribute Details
#cache_path ⇒ Object
Returns the value of attribute cache_path.
2 3 4 |
# File 'lib/firebase_idtoken/configuration.rb', line 2 def cache_path @cache_path end |
#cache_time ⇒ Object
Returns the value of attribute cache_time.
2 3 4 |
# File 'lib/firebase_idtoken/configuration.rb', line 2 def cache_time @cache_time end |
#project_id ⇒ Object
Returns the value of attribute project_id.
2 3 4 |
# File 'lib/firebase_idtoken/configuration.rb', line 2 def project_id @project_id end |