Method: Dbwatcher::Storage::Api::BaseAPI#initialize

Defined in:
lib/dbwatcher/storage/api/base_api.rb

#initialize(storage) ⇒ BaseAPI

Initialize the API with a storage backend

Parameters:

  • storage (Object)

    storage backend instance



27
28
29
30
31
# File 'lib/dbwatcher/storage/api/base_api.rb', line 27

def initialize(storage)
  @storage = storage
  @filters = {}
  @limit_value = nil
end