Sha256: bfd737a8c9a55003399e098662ca7a0eac09d5818a0ffef046c3fe076d631c84

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

module Eligible
  class SessionToken < APIResource
    def self.create(params, opts = {})
      send_request :post, '/session_tokens/create.json', params, **opts
    end

    def self.revoke(params, opts = {})
      send_request :post, '/session_tokens/revoke.json', params, **opts
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eligible-3.1.0.beta4 lib/eligible/session_token.rb
eligible-3.1.0.beta3 lib/eligible/session_token.rb
eligible-3.1.0.beta2 lib/eligible/session_token.rb
eligible-3.1.0.beta1 lib/eligible/session_token.rb