Class: EveApi::Caches::Default
- Inherits:
-
Object
- Object
- EveApi::Caches::Default
- Defined in:
- lib/eve_api/caches/default.rb
Direct Known Subclasses
Instance Method Summary collapse
- #cached?(keyID, scope, canonic_name, characterID) ⇒ Boolean
-
#initialize ⇒ Default
constructor
A new instance of Default.
- #path(keyID, scope, canonic_name, characterID) ⇒ Object
- #retrieve(keyID, scope, canonic_name, characterID) ⇒ Object
- #store!(keyID, scope, canonic_name, characterID, content) ⇒ Object
Constructor Details
#initialize ⇒ Default
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
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 |