Class: EveApi::Caches::Default

Inherits:
Object
  • Object
show all
Defined in:
lib/eve_api/caches/default.rb

Direct Known Subclasses

File

Instance Method Summary collapse

Constructor Details

#initializeDefault

Returns a new instance of Default.



4
5
# File 'lib/eve_api/caches/default.rb', line 4

def initialize
end

Instance Method Details

#cached?(keyID, scope, canonic_name, characterID) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/eve_api/caches/default.rb', line 11

def cached?(keyID, scope, canonic_name, characterID)
  return false
end

#path(keyID, scope, canonic_name, characterID) ⇒ Object



7
8
9
# File 'lib/eve_api/caches/default.rb', line 7

def path(keyID, scope, canonic_name, characterID)
  "#{keyID}/#{scope}/#{canonic_name}/#{characterID}"
end

#retrieve(keyID, scope, canonic_name, characterID) ⇒ Object



15
16
17
# File 'lib/eve_api/caches/default.rb', line 15

def retrieve(keyID, scope, canonic_name, characterID)
  return nil
end

#store!(keyID, scope, canonic_name, characterID, content) ⇒ Object



19
20
21
# File 'lib/eve_api/caches/default.rb', line 19

def store!(keyID, scope, canonic_name, characterID, content)
  return false
end