Class: CiscoWebex::Transcripts

Inherits:
Meetings
  • Object
show all
Defined in:
lib/Meetings/Transcripts.rb

Direct Known Subclasses

Snippets

Instance Method Summary collapse

Methods inherited from Meetings

#control_status, #head, #invitees, #me, #meetings, #participants, #post, #put, #qualities, #registrations, #session_types, #templates, #transcripts

Constructor Details

#initialize(token = nil) ⇒ Transcripts

initialize object with stored token



6
7
8
9
10
11
12
13
14
# File 'lib/Meetings/Transcripts.rb', line 6

def initialize(token=nil)
	if token == nil
		STDERR.puts "Must provide API key for CiscoWebex::Meetings::Transcripts"
		return false
	else
		@auth_token = token if token
		@snippets = Snippets.new(@auth_token)
	end
end

Instance Method Details

#create(params) ⇒ Object



39
40
41
42
# File 'lib/Meetings/Transcripts.rb', line 39

def create(params)
	STDERR.puts "CiscoWebex::Meetings::Transcripts.create() - Metod not implemented"
	return false
end

#delete(id) ⇒ Object



44
45
46
47
# File 'lib/Meetings/Transcripts.rb', line 44

def delete(id)
	STDERR.puts "CiscoWebex::Meetings::Transcripts.delete() - Metod not implemented"
	return false
end

#download(id) ⇒ Object



24
25
26
# File 'lib/Meetings/Transcripts.rb', line 24

def download(id)
	return get(id)
end

#get(id, limit = 5000) ⇒ Object



20
21
22
# File 'lib/Meetings/Transcripts.rb', line 20

def get(id, limit=5000)
	return CiscoWebex::Rest.get(@auth_token, "/v1/meetingTranscripts/#{id}", {}, limit) rescue false
end

#list(params = {}, limit = 5000) ⇒ Object



28
29
30
31
32
33
# File 'lib/Meetings/Transcripts.rb', line 28

def list(params={}, limit=5000)
	if params.class == String
		params = { "meetingId"=> params }
	end
	return CiscoWebex::Rest.get(@auth_token, "/v1/meetingTranscripts", params, limit) rescue false
end

#patch(id, params) ⇒ Object



49
50
51
52
# File 'lib/Meetings/Transcripts.rb', line 49

def patch(id, params)
	STDERR.puts "CiscoWebex::Meetings::Transcripts.patch() - Metod not implemented"
	return false
end

#search(meetings_id, params = {}) ⇒ Object



35
36
37
# File 'lib/Meetings/Transcripts.rb', line 35

def search(meetings_id, params={})
	return CiscoWebex::Toolbox.search(list(meeting_id), params)
end

#snippetsObject



54
55
56
# File 'lib/Meetings/Transcripts.rb', line 54

def snippets()
	return @snippets
end

#thisObject



16
17
18
# File 'lib/Meetings/Transcripts.rb', line 16

def this()
	puts "CiscoWebex::Meetings::Transcripts"
end