Class: FirebaseIdtoken::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/firebase_idtoken/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pathObject

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_timeObject

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_idObject

Returns the value of attribute project_id.



2
3
4
# File 'lib/firebase_idtoken/configuration.rb', line 2

def project_id
  @project_id
end