feat: Add Platform APIs (#1456)

This commit is contained in:
Sojan Jose
2021-01-14 20:35:22 +05:30
committed by GitHub
parent 75c2a7cb2f
commit 7542330d61
25 changed files with 688 additions and 20 deletions

View File

@@ -7,4 +7,10 @@ module Current
super
Time.zone = account.timezone
end
def self.reset
Current.user = nil
Current.account = nil
Current.account_user = nil
end
end