Class: Xapixctl::PreviewCli
- Defined in:
- lib/xapixctl/preview_cli.rb
Instance Method Summary collapse
- #endpoint(endpoint) ⇒ Object
- #pipeline(pipeline) ⇒ Object
- #stream_processor(stream_processor) ⇒ Object
Methods inherited from BaseCli
Instance Method Details
#endpoint(endpoint) ⇒ Object
35 36 37 |
# File 'lib/xapixctl/preview_cli.rb', line 35 def endpoint(endpoint) say prj_connection.endpoint_preview(endpoint, format: [:format].to_sym) end |
#pipeline(pipeline) ⇒ Object
20 21 22 |
# File 'lib/xapixctl/preview_cli.rb', line 20 def pipeline(pipeline) say prj_connection.pipeline_preview(pipeline, format: [:format].to_sym) end |
#stream_processor(stream_processor) ⇒ Object
50 51 52 |
# File 'lib/xapixctl/preview_cli.rb', line 50 def stream_processor(stream_processor) say prj_connection.stream_processor_preview(stream_processor, format: [:format].to_sym) end |