Method: Mints::Contact#logout
- Defined in:
- lib/contact.rb
#logout ⇒ Object
Logout.
Ends a contact session previously logged.
Example
@data = @mints_contact.logout
208 209 210 211 212 213 214 |
# File 'lib/contact.rb', line 208 def logout response = @client.raw("post", "/logout", nil, nil, @contact_v1_url) if session_token? if response["success"] @client.session_token = nil end return response end |