1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Implement list_streams mock

This commit is contained in:
Michael Hale 2015-07-01 10:41:00 -04:00
parent 0a8e3575a3
commit d2010fd716

View file

@ -30,7 +30,7 @@ module Fog
response.status = 200
response.body = {
"HasMoreStreams" => false,
"StreamNames" => []
"StreamNames" => data[:kinesis_streams].map{ |stream| stream["StreamName"] }
}
response
end