Class: CiscoWebex::Snippets
Instance Method Summary
collapse
Methods inherited from Transcripts
#create, #delete, #download, #patch, #snippets
Methods inherited from Meetings
#control_status, #head, #invitees, #me, #meetings, #participants, #post, #put, #qualities, #registrations, #session_types, #templates, #transcripts
Constructor Details
#initialize(token = nil) ⇒ Snippets
initialize object with stored token
63
64
65
66
67
68
69
70
|
# File 'lib/Meetings/Transcripts.rb', line 63
def initialize(token=nil)
if token == nil
STDERR.puts "Must provide API key for CiscoWebex::Meetings::Transcripts::Snippets"
return false
else
@auth_token = token if token
end
end
|
Instance Method Details
#get(meeting_id, snippet_id, limit = 5000) ⇒ Object
76
77
78
|
# File 'lib/Meetings/Transcripts.rb', line 76
def get(meeting_id, snippet_id, limit=5000)
return CiscoWebex::Rest.get(@auth_token, "/v1/meetingTranscripts/#{meeting_id}/#{snippet_id}", {}, limit) rescue false
end
|
#list(meeting_id, limit = 5000) ⇒ Object
80
81
82
|
# File 'lib/Meetings/Transcripts.rb', line 80
def list(meeting_id, limit=5000)
return CiscoWebex::Rest.get(@auth_token, "/v1/meetingTranscripts/#{meeting_id}/snippets", {}, limit) rescue false
end
|
#search(meeting_id, params = {}) ⇒ Object
84
85
86
87
88
89
90
91
|
# File 'lib/Meetings/Transcripts.rb', line 84
def search(meeting_id, params={})
if params.class == String
params = { "personEmail"=> params }
elsif params.class == String
params = { "personName"=> params }
end
return CiscoWebex::Toolbox.search(list(meeting_id), params)
end
|
#this ⇒ Object
72
73
74
|
# File 'lib/Meetings/Transcripts.rb', line 72
def this()
puts "CiscoWebex::Meetings::Transcripts"
end
|
#update(meeting_id, params = {}) ⇒ Object
93
94
95
|
# File 'lib/Meetings/Transcripts.rb', line 93
def update(meeting_id, params={})
return CiscoWebex::Rest.get(@auth_token, "/v1/meetingTranscripts/#{meeting_id}/snippets/#{snippet_id}", params, limit) rescue false
end
|