Sha256: b01ba725008a4f0d2189a441dcbd9fcc9c449f45d48a412508766592eaf33e50
Contents?: true
Size: 402 Bytes
Versions: 17
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true require "fmrest/token_store/base" module FmRest module TokenStore class Memory < Base def initialize(*args) super @@tokens ||= {} end def delete(key) @@tokens.delete(key) end def load(key) @@tokens[key] end def store(key, value) @@tokens[key] = value end end end end
Version data entries
17 entries across 17 versions & 1 rubygems