Class: Excursion::Datastores::Datastore

Inherits:
Object
  • Object
show all
Defined in:
lib/excursion/datastores/datastore.rb

Instance Method Summary collapse

Instance Method Details

#app(key) ⇒ Object



6
7
8
# File 'lib/excursion/datastores/datastore.rb', line 6

def app(key)
  Excursion::Pool::Application.from_cache(read(key))
end

#delete(key) ⇒ Object Also known as: unset



14
# File 'lib/excursion/datastores/datastore.rb', line 14

def delete(key); end

#read(key) ⇒ Object Also known as: get



10
# File 'lib/excursion/datastores/datastore.rb', line 10

def read(key); end

#write(key, value) ⇒ Object Also known as: set



12
# File 'lib/excursion/datastores/datastore.rb', line 12

def write(key, value); end