Module: BWAPI::Client::Logout
- Included in:
- BWAPI::Client
- Defined in:
- lib/bwapi/client/logout.rb
Instance Method Summary collapse
-
#logout ⇒ Hashie::Mash
Logout user.
Instance Method Details
#logout ⇒ Hashie::Mash
Logout user
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/bwapi/client/logout.rb', line 8 def logout begin get "logout" ensure self.username = nil self.password = nil self.access_token = nil self.client_id = nil self.access_token = nil self.refresh_token = nil self.expires_in = nil end end |