Class: Kaltura::Service::BaseService
- Inherits:
-
Object
- Object
- Kaltura::Service::BaseService
- Defined in:
- lib/kaltura/service/base_service.rb
Direct Known Subclasses
AccessControlService, AdminUserService, BaseEntryService, BulkUploadService, CategoryService, ConversionProfileService, DataService, EmailIngestionProfileService, EntryAdminService, FileSyncService, FlavorAssetService, FlavorParamsOutputService, FlavorParamsService, LiveStreamService, MediaInfoService, MediaService, MixingService, NotificationService, PartnerService, PlaylistService, ReportService, SearchService, SessionService, StatsService, SyndicationFeedService, SystemPartnerService, SystemService, SystemUserService, UiConfService, UploadService, UserService, WidgetService, XInternalService
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ BaseService
constructor
A new instance of BaseService.
- #perform_request(service_class, service_action, paramters, allow_multirequest = true) ⇒ Object
Constructor Details
#initialize(client) ⇒ BaseService
Returns a new instance of BaseService.
6 7 8 |
# File 'lib/kaltura/service/base_service.rb', line 6 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
4 5 6 |
# File 'lib/kaltura/service/base_service.rb', line 4 def client @client end |
Instance Method Details
#perform_request(service_class, service_action, paramters, allow_multirequest = true) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/kaltura/service/base_service.rb', line 10 def perform_request(service_class,service_action,paramters,allow_multirequest=true) if allow_multirequest == false && client.is_multirequest return nil else client.queue_service_action_call(service_class,service_action,paramters) return client.do_queue end end |