Class: Flare::Storage::Base
- Inherits:
-
Object
- Object
- Flare::Storage::Base
- Defined in:
- lib/flare/storage.rb
Direct Known Subclasses
Instance Method Summary collapse
- #clear_all ⇒ Object
- #clues_for_case(case_uuid) ⇒ Object
- #count_cases(type: nil, status: nil, method: nil, name: nil, origin: nil) ⇒ Object
- #count_clues(type: nil, search: nil) ⇒ Object
- #find_case(uuid) ⇒ Object
- #find_clue(id) ⇒ Object
- #list_cases(type: nil, status: nil, method: nil, name: nil, origin: nil, limit: 50, offset: 0) ⇒ Object
- #list_clues(type: nil, search: nil, limit: 50, offset: 0) ⇒ Object
- #prune(retention_hours:, max_cases:) ⇒ Object
- #save_case(attributes) ⇒ Object
- #save_clues(clues) ⇒ Object
Instance Method Details
#clear_all ⇒ Object
38 39 40 |
# File 'lib/flare/storage.rb', line 38 def clear_all raise NotImplementedError end |
#clues_for_case(case_uuid) ⇒ Object
22 23 24 |
# File 'lib/flare/storage.rb', line 22 def clues_for_case(case_uuid) raise NotImplementedError end |
#count_cases(type: nil, status: nil, method: nil, name: nil, origin: nil) ⇒ Object
42 43 44 |
# File 'lib/flare/storage.rb', line 42 def count_cases(type: nil, status: nil, method: nil, name: nil, origin: nil) raise NotImplementedError end |
#count_clues(type: nil, search: nil) ⇒ Object
46 47 48 |
# File 'lib/flare/storage.rb', line 46 def count_clues(type: nil, search: nil) raise NotImplementedError end |
#find_case(uuid) ⇒ Object
14 15 16 |
# File 'lib/flare/storage.rb', line 14 def find_case(uuid) raise NotImplementedError end |
#find_clue(id) ⇒ Object
30 31 32 |
# File 'lib/flare/storage.rb', line 30 def find_clue(id) raise NotImplementedError end |
#list_cases(type: nil, status: nil, method: nil, name: nil, origin: nil, limit: 50, offset: 0) ⇒ Object
18 19 20 |
# File 'lib/flare/storage.rb', line 18 def list_cases(type: nil, status: nil, method: nil, name: nil, origin: nil, limit: 50, offset: 0) raise NotImplementedError end |
#list_clues(type: nil, search: nil, limit: 50, offset: 0) ⇒ Object
26 27 28 |
# File 'lib/flare/storage.rb', line 26 def list_clues(type: nil, search: nil, limit: 50, offset: 0) raise NotImplementedError end |
#prune(retention_hours:, max_cases:) ⇒ Object
34 35 36 |
# File 'lib/flare/storage.rb', line 34 def prune(retention_hours:, max_cases:) raise NotImplementedError end |
#save_case(attributes) ⇒ Object
6 7 8 |
# File 'lib/flare/storage.rb', line 6 def save_case(attributes) raise NotImplementedError end |
#save_clues(clues) ⇒ Object
10 11 12 |
# File 'lib/flare/storage.rb', line 10 def save_clues(clues) raise NotImplementedError end |