librevox
librevox copied to clipboard
CommandSocket multiple items returned
Im trying this:
st=socket.command("sofia status profile internal reg") st.content => #<Librevox::Response:0x00000001fa3ad8 @headers={:content_type=>"api/response", >:content_length=>"1151"}, @content=....Total items returned: 2 ...
There are multiple items returned but st.content will only display information relating to the last item. How would I get the other items? I think it parses them into ruby objects, but because they have the same names it overwrites the ones down the array and it only shows the last ones