Class: Registration::Storage::Cache

Inherits:
Struct
  • Object
show all
Includes:
Singleton
Defined in:
src/lib/registration/storage.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCache


68
69
70
71
72
# File 'src/lib/registration/storage.rb', line 68

def initialize
  self.addon_services = []
  self.first_run = true
  self.upgrade_failed = false
end

Instance Attribute Details

#addon_servicesObject

Returns the value of attribute addon_services


63
64
65
# File 'src/lib/registration/storage.rb', line 63

def addon_services
  @addon_services
end

#first_runObject

Returns the value of attribute first_run


63
64
65
# File 'src/lib/registration/storage.rb', line 63

def first_run
  @first_run
end

#reg_urlObject

Returns the value of attribute reg_url


63
64
65
# File 'src/lib/registration/storage.rb', line 63

def reg_url
  @reg_url
end

#reg_url_cachedObject

Returns the value of attribute reg_url_cached


63
64
65
# File 'src/lib/registration/storage.rb', line 63

def reg_url_cached
  @reg_url_cached
end

#upgrade_failedObject

Returns the value of attribute upgrade_failed


63
64
65
# File 'src/lib/registration/storage.rb', line 63

def upgrade_failed
  @upgrade_failed
end