Class: Kaltura::Session

Inherits:
Hashie::Mash
  • Object
show all
Extended by:
ClientResource
Defined in:
lib/kaltura/session.rb

Constant Summary collapse

SESSION_TYPE =
2

Class Method Summary collapse

Methods included from ClientResource

fetch, post, url

Class Method Details

.kaltura_sessionObject



18
19
20
# File 'lib/kaltura/session.rb', line 18

def self.kaltura_session
  @@kaltura_session
end

.startObject



8
9
10
11
12
13
14
15
16
# File 'lib/kaltura/session.rb', line 8

def self.start
  _clear_kaltura_session

  fetched_response = fetch('session', 'start', _session_request_options).first

  _assign_kaltura_session(fetched_response)

  fetched_response
end