Module: BWAPI::Client::Projects::Queries::Backfill
- Included in:
- BWAPI::Client::Projects::Queries
- Defined in:
- lib/bwapi/client/projects/queries/backfill.rb
Overview
Backfill module for projects/queries/backfill endpoints
Instance Method Summary collapse
-
#backfills(project_id, query_id, opts = {}) ⇒ Hash
Get all backfills for query.
-
#create_backfill(project_id, query_id, opts = {}) ⇒ Hash
Create new backfill for query.
-
#delete_backfill(project_id, query_id, backfill_id) ⇒ Hash
Delete backfill for query.
-
#get_backfill(project_id, query_id, backfill_id) ⇒ Hash
Get specific backfill for query.
Instance Method Details
#backfills(project_id, query_id, opts = {}) ⇒ Hash
Get all backfills for query
15 16 17 |
# File 'lib/bwapi/client/projects/queries/backfill.rb', line 15 def backfills(project_id, query_id, opts = {}) get "projects/#{project_id}/queries/#{query_id}/backfill", opts end |
#create_backfill(project_id, query_id, opts = {}) ⇒ Hash
Create new backfill for query
44 45 46 |
# File 'lib/bwapi/client/projects/queries/backfill.rb', line 44 def create_backfill(project_id, query_id, opts = {}) post "projects/#{project_id}/queries/#{query_id}/backfill", opts end |
#delete_backfill(project_id, query_id, backfill_id) ⇒ Hash
Delete backfill for query
54 55 56 |
# File 'lib/bwapi/client/projects/queries/backfill.rb', line 54 def delete_backfill(project_id, query_id, backfill_id) delete "projects/#{project_id}/queries/#{query_id}/backfill/#{backfill_id}" end |
#get_backfill(project_id, query_id, backfill_id) ⇒ Hash
Get specific backfill for query
25 26 27 |
# File 'lib/bwapi/client/projects/queries/backfill.rb', line 25 def get_backfill(project_id, query_id, backfill_id) get "projects/#{project_id}/queries/#{query_id}/backfill/#{backfill_id}" end |