Class: ThreeScale::Backend::Storage
- Inherits:
-
Object
- Object
- ThreeScale::Backend::Storage
- Includes:
- Configurable
- Defined in:
- lib/3scale/backend/storage.rb,
lib/3scale/backend/storage_helpers.rb
Defined Under Namespace
Modules: Helpers Classes: InvalidURI, UnspecifiedURI
Constant Summary collapse
- BATCH_SIZE =
Constant used for when batching of operations is desired/needed. Batching is performed when a lot of storage operations are need to be performed and we want to minimize database blocking of other clients
400
- Error =
Class.new StandardError
Class Method Summary collapse
Methods included from Configurable
#configuration, #configuration=, included
Class Method Details
.instance(reset = false) ⇒ Object
20 21 22 |
# File 'lib/3scale/backend/storage.rb', line 20 def instance(reset = false) storage_client_class.instance(reset) end |
.new(options) ⇒ Object
24 25 26 |
# File 'lib/3scale/backend/storage.rb', line 24 def new() storage_client_class.new() end |