Class: Registration::Storage::InstallationOptions

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

Overview

remember the values entered by user TODO: use Config instead to allow easy export at installation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInstallationOptions


55
56
57
58
59
60
# File 'src/lib/registration/storage.rb', line 55

def initialize
  @email = ""
  @reg_code = ""
  @selected_addons = []
  @base_registered = false
end

Instance Attribute Details

#base_registeredObject

Returns the value of attribute base_registered


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def base_registered
  @base_registered
end

#custom_urlObject

Returns the value of attribute custom_url


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def custom_url
  @custom_url
end

#emailObject

Returns the value of attribute email


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def email
  @email
end

#imported_cert_sha256_fingerprintObject

Returns the value of attribute imported_cert_sha256_fingerprint


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def imported_cert_sha256_fingerprint
  @imported_cert_sha256_fingerprint
end

#install_updatesObject

Returns the value of attribute install_updates


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def install_updates
  @install_updates
end

#reg_codeObject

Returns the value of attribute reg_code


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def reg_code
  @reg_code
end

#selected_addonsObject

Returns the value of attribute selected_addons


52
53
54
# File 'src/lib/registration/storage.rb', line 52

def selected_addons
  @selected_addons
end