Class: SafeDb::Id

Inherits:
Controller show all
Defined in:
lib/controller/id.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



9
10
11
12
13
14
15
16
17
18
# File 'lib/controller/id.rb', line 9

def execute

  puts ""
  puts TimeStamp.grab()
  puts TimeStamp.fetch()
  puts ""

  return

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



27
28
29
30
# File 'lib/controller/id.rb', line 27

def pre_validation


end