Class: WscSdk::Endpoints::WowzaStreamTargets
- Inherits:
-
WscSdk::Endpoint
- Object
- WscSdk::Endpoint
- WscSdk::Endpoints::WowzaStreamTargets
- Defined in:
- lib/wsc_sdk/endpoints/wowza_stream_targets.rb
Overview
An endpoint to manage Wowza Stream Targets
Instance Attribute Summary
Attributes inherited from WscSdk::Endpoint
Instance Method Summary collapse
-
#list_path ⇒ String
Get the path for the list of models.
-
#model_path(id) ⇒ String
Get the path for an individual model.
Methods inherited from WscSdk::Endpoint
actions, #build, #create, #create_path, #delete, #delete_path, #find, #find_path, #handle_json_error, #initialize, #list, model_action, model_class, #model_name_plural, #model_name_singular, #refresh, #transform_list, #transform_model, #update, #update_path
Methods included from Loggable
Constructor Details
This class inherits a constructor from WscSdk::Endpoint
Instance Method Details
#list_path ⇒ String
Get the path for the list of models
26 27 28 |
# File 'lib/wsc_sdk/endpoints/wowza_stream_targets.rb', line 26 def list_path [ parent_path, "wowza" ].compact.join("/") end |
#model_path(id) ⇒ String
Get the path for an individual model.
38 39 40 |
# File 'lib/wsc_sdk/endpoints/wowza_stream_targets.rb', line 38 def model_path(id) [ parent_path, "wowza", id ].compact.join("/") end |