Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

CommandSocket multiple items returned #8

Open
Tarang opened this issue Jan 21, 2013 · 0 comments
Open

CommandSocket multiple items returned #8

Tarang opened this issue Jan 21, 2013 · 0 comments

Comments

@Tarang
Copy link

Tarang commented Jan 21, 2013

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant