Class: FmRest::TokenStore::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/fmrest/token_store/base.rb

Direct Known Subclasses

ActiveRecord, Memory, Moneta, Null, Redis, ShortMemory

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/fmrest/token_store/base.rb', line 8

def initialize(options = {})
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/fmrest/token_store/base.rb', line 6

def options
  @options
end

Instance Method Details

#delete(key) ⇒ Object

Raises:

  • (NoMethodError)


20
21
22
# File 'lib/fmrest/token_store/base.rb', line 20

def delete(key)
  raise NoMethodError
end

#load(key) ⇒ Object

Raises:

  • (NoMethodError)


12
13
14
# File 'lib/fmrest/token_store/base.rb', line 12

def load(key)
  raise NoMethodError
end

#store(key, value) ⇒ Object

Raises:

  • (NoMethodError)


16
17
18
# File 'lib/fmrest/token_store/base.rb', line 16

def store(key, value)
  raise NoMethodError
end