Sha256: fb73e32d8f84e29d3315b528f3371fd47d714c03225289e0073c0ef6c07ee6ed

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

module Kaltura
  module Service
    class BaseService
    	attr_accessor :client

    	def initialize(client)
    		@client = client
    	end

    	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
    end #class BaseService
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
velir_kaltura-ruby-0.4.5 lib/kaltura/service/base_service.rb
velir_kaltura-ruby-0.4.4 lib/kaltura/service/base_service.rb
velir_kaltura-ruby-0.4.3 lib/kaltura/service/base_service.rb
velir_kaltura-ruby-0.4.2 lib/kaltura/service/base_service.rb
velir_kaltura-ruby-0.4.1 lib/kaltura/service/base_service.rb
velir_kaltura-ruby-0.4.0 lib/kaltura/service/base_service.rb