Skip to content

Commit 702c2ca

Browse files
authored
Merge pull request #35 from mconf/feature-recordings-state
ELOSP-107 now get_recordings accept multiple state params.
2 parents e3fac88 + 91dab7e commit 702c2ca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/bigbluebutton_api.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,10 @@ def get_recordings(options={})
461461
options[:meetingID] = options[:meetingID].join(",") if options[:meetingID].instance_of?(Array)
462462
end
463463

464+
if options.has_key?(:state)
465+
options[:state] = options[:state].join(",") if options[:state].instance_of?(Array)
466+
end
467+
464468
response = send_api_request(:getRecordings, options)
465469

466470
formatter = BigBlueButtonFormatter.new(response)

0 commit comments

Comments
 (0)