Sha256: c17ba97a668ea4210b4a7500b4b524a6841fb63f46ae22c0a53d9fe068a3e929

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eligible-3.0.2 lib/eligible/session_token.rb
eligible-3.0.1 lib/eligible/session_token.rb
eligible-3.0.0 lib/eligible/session_token.rb