Module: BWAPI::Client::Projects::StreamDashboards
- Includes:
- Streams
- Included in:
- BWAPI::Client::Projects
- Defined in:
- lib/bwapi/client/projects/stream_dashboards.rb,
lib/bwapi/client/projects/stream_dashboards/streams.rb
Overview
StreamDashboards module for projects/stream_dashboards endpoints
Defined Under Namespace
Modules: Streams
Instance Method Summary collapse
-
#create_stream_dashboard(project_id, opts = {}) ⇒ Hashie::Mash
Create a new stream dashboard.
-
#delete_stream_dashboard(project_id, stream_dashboard_id) ⇒ Object
Delete a stream dashboard.
-
#get_stream_dashboard(project_id, stream_dashboard_id) ⇒ Hashie::Mash
Get a stream dashboard.
-
#get_stream_dashboard_complete(project_id, stream_dashboard_id) ⇒ Hashie::Mash
Get a stream dashboard complete with streams.
-
#get_stream_dashboards_summary(project_id) ⇒ Hashie::Mash
Get a stream dashboards summary.
-
#stream_dashboards(project_id, opts = {}) ⇒ Hashie::Mash
Get all stream dashboards in project.
-
#update_stream_dashboard(project_id, stream_dashboard_id, opts = {}) ⇒ Hashie::Mash
Update a stream dashboard.
Methods included from Streams
#create_stream, #delete_stream, #get_stream, #get_streams, #update_stream
Instance Method Details
#create_stream_dashboard(project_id, opts = {}) ⇒ Hashie::Mash
Create a new stream dashboard
59 60 61 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 59 def create_stream_dashboard(project_id, opts = {}) post "projects/#{project_id}/streamDashboards", opts end |
#delete_stream_dashboard(project_id, stream_dashboard_id) ⇒ Object
Delete a stream dashboard
81 82 83 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 81 def delete_stream_dashboard(project_id, stream_dashboard_id) delete "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}" end |
#get_stream_dashboard(project_id, stream_dashboard_id) ⇒ Hashie::Mash
Get a stream dashboard
46 47 48 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 46 def get_stream_dashboard(project_id, stream_dashboard_id) get "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}" end |
#get_stream_dashboard_complete(project_id, stream_dashboard_id) ⇒ Hashie::Mash
Get a stream dashboard complete with streams
37 38 39 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 37 def get_stream_dashboard_complete(project_id, stream_dashboard_id) get "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}/complete" end |
#get_stream_dashboards_summary(project_id) ⇒ Hashie::Mash
Get a stream dashboards summary
28 29 30 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 28 def get_stream_dashboards_summary(project_id) get "projects/#{project_id}/streamDashboards/summary" end |
#stream_dashboards(project_id, opts = {}) ⇒ Hashie::Mash
Get all stream dashboards in project
17 18 19 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 17 def stream_dashboards(project_id, opts = {}) get "projects/#{project_id}/streamDashboards", opts end |
#update_stream_dashboard(project_id, stream_dashboard_id, opts = {}) ⇒ Hashie::Mash
Update a stream dashboard
73 74 75 |
# File 'lib/bwapi/client/projects/stream_dashboards.rb', line 73 def update_stream_dashboard(project_id, stream_dashboard_id, opts = {}) put "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}", opts end |