Sha256: ab3b4c48fe5be1b2c682a24c216fd45cb9602014511354d26880d9481a2b8830

Contents?: true

Size: 312 Bytes

Versions: 17

Compression:

Stored size: 312 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

17 entries across 17 versions & 1 rubygems

Version Path
eligible-2.9.17 lib/eligible/session_token.rb
eligible-2.9.16 lib/eligible/session_token.rb
eligible-2.9.15 lib/eligible/session_token.rb
eligible-2.9.14 lib/eligible/session_token.rb
eligible-2.9.13 lib/eligible/session_token.rb
eligible-2.9.12 lib/eligible/session_token.rb
eligible-2.9.11 lib/eligible/session_token.rb
eligible-2.9.10 lib/eligible/session_token.rb
eligible-2.9.9 lib/eligible/session_token.rb
eligible-2.9.8 lib/eligible/session_token.rb
eligible-2.9.7 lib/eligible/session_token.rb
eligible-2.9.6 lib/eligible/session_token.rb
eligible-2.9.5 lib/eligible/session_token.rb
eligible-2.9.4 lib/eligible/session_token.rb
eligible-2.9.3 lib/eligible/session_token.rb
eligible-2.9.2 lib/eligible/session_token.rb
eligible-2.9.1 lib/eligible/session_token.rb