Class: Excursion::Datastores::Datastore
- Inherits:
-
Object
- Object
- Excursion::Datastores::Datastore
show all
- Defined in:
- lib/excursion/datastores/datastore.rb
Instance Method Summary
collapse
Instance Method Details
#all ⇒ Object
23
|
# File 'lib/excursion/datastores/datastore.rb', line 23
def all; end
|
#all_apps ⇒ Object
10
11
12
13
14
15
|
# File 'lib/excursion/datastores/datastore.rb', line 10
def all_apps
app_hash = HashWithIndifferentAccess.new
all.each do |k,v|
app_hash[k.to_sym] = Excursion::Pool::Application.from_cache(v)
end
end
|
#delete(key) ⇒ Object
Also known as:
unset
21
|
# File 'lib/excursion/datastores/datastore.rb', line 21
def delete(key); end
|
#read(key) ⇒ Object
Also known as:
get
17
|
# File 'lib/excursion/datastores/datastore.rb', line 17
def read(key); end
|
#write(key, value) ⇒ Object
Also known as:
set
19
|
# File 'lib/excursion/datastores/datastore.rb', line 19
def write(key, value); end
|