Class: WscSdk::Endpoints::StreamTargets

Inherits:
WscSdk::Endpoint show all
Defined in:
lib/wsc_sdk/endpoints/stream_targets.rb

Overview

An endpoint to manage Stream Targets

Instance Attribute Summary

Attributes inherited from WscSdk::Endpoint

#client, #parent_path

Instance Method Summary collapse

Methods inherited from WscSdk::Endpoint

actions, #build, #create, #create_path, #delete, #delete_path, #find, #find_path, #handle_json_error, #initialize, #list, #list_path, model_action, model_class, #model_name_plural, #model_name_singular, #model_path, #refresh, #transform_list, #transform_model, #update, #update_path

Methods included from Loggable

#logger, #logger=

Constructor Details

This class inherits a constructor from WscSdk::Endpoint

Instance Method Details

#customWsc::Endpoints::CustomStreamTargets

Access the /stream_targets/custom endpoints

Returns:

  • (Wsc::Endpoints::CustomStreamTargets)

    An instance of the CustomStreamTargets endpoint class.



30
31
32
# File 'lib/wsc_sdk/endpoints/stream_targets.rb', line 30

def custom
  WscSdk::Endpoints::CustomStreamTargets.new(self.client, parent_path: self.list_path)
end

#ullWsc::Endpoints::UllStreamTargets

Access the /stream_targets/ull endpoints

Returns:

  • (Wsc::Endpoints::UllStreamTargets)

    An instance of the UllStreamTargets endpoint class.



39
40
41
# File 'lib/wsc_sdk/endpoints/stream_targets.rb', line 39

def ull
  WscSdk::Endpoints::UllStreamTargets.new(self.client, parent_path: self.list_path)
end

#wowzaWsc::Endpoints::WowzaStreamTargets

Access the /stream_targets/wowza endpoints

Returns:

  • (Wsc::Endpoints::WowzaStreamTargets)

    An instance of the WowzaStreamTargets endpoint class.



21
22
23
# File 'lib/wsc_sdk/endpoints/stream_targets.rb', line 21

def wowza
  WscSdk::Endpoints::WowzaStreamTargets.new(self.client, parent_path: self.list_path)
end