lib/eligible/session_token.rb in eligible-2.8.2 vs lib/eligible/session_token.rb in eligible-2.9.1

- old
+ new

@@ -1,7 +1,11 @@ module Eligible class SessionToken < APIResource def self.create(params, api_key = nil) send_request(:post, '/session_tokens/create.json', api_key, params) end + + def self.revoke(params, api_key = nil) + send_request(:post, '/session_tokens/revoke.json', api_key, params) + end end end