Class: Update

Inherits:
AuthManager::Base show all
Defined in:
lib/auth_manager/update/update.rb

Constant Summary

Constants inherited from AuthManager::Base

AuthManager::Base::APPS, AuthManager::Base::USERS

Instance Attribute Summary

Attributes inherited from AuthManager::Base

#redis

Instance Method Summary collapse

Methods inherited from AuthManager::Base

#initialize

Constructor Details

This class inherits a constructor from AuthManager::Base

Instance Method Details

#update(old_obj, new_obj, option) ⇒ Object



7
8
9
10
11
# File 'lib/auth_manager/update/update.rb', line 7

def update(old_obj, new_obj, option)
  existing_obj?(old_obj, option)
  write_new_info?(new_obj, option)
  delete_obj?(old_obj, option)
end