Module: BWAPI::Client::Logout
- Included in:
- BWAPI::Client
- Defined in:
- lib/bwapi/client/logout.rb
Overview
Logout module for logout endpoint
Instance Method Summary collapse
-
#logout ⇒ Hash
Logout user.
Instance Method Details
#logout ⇒ Hash
Logout user
8 9 10 11 12 13 |
# File 'lib/bwapi/client/logout.rb', line 8 def logout get 'logout' ensure self.access_token = nil self.refresh_token = nil end |