Class: Xapixctl::PreviewCli

Inherits:
BaseCli
  • Object
show all
Defined in:
lib/xapixctl/preview_cli.rb

Instance Method Summary collapse

Methods inherited from BaseCli

exit_on_failure?, start

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: options[: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: options[: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: options[:format].to_sym)
end