Class: SafeDb::Logout

Inherits:
Controller show all
Defined in:
lib/controller/access/logout.rb

Instance Method Summary collapse

Methods inherited from Controller

#check_post_conditions, #check_pre_conditions, #flow, #initialize, #open_remote_backend_location, #post_validation, #read_verse, #set_verse, #update_verse

Constructor Details

This class inherits a constructor from SafeDb::Controller

Instance Method Details

#executeObject



7
8
9
# File 'lib/controller/access/logout.rb', line 7

def execute

end

#pre_validationObject

Perform pre-conditional validations in preparation to executing the main flow of events for this use case. This method may throw the below exceptions.

Raises:

  • (SafeDirNotConfigured)

    if the safe’s url has not been configured

  • (EmailAddrNotConfigured)

    if the email address has not been configured

  • (StoreUrlNotConfigured)

    if the crypt store url is not configured



18
19
20
# File 'lib/controller/access/logout.rb', line 18

def pre_validation

end