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

CommandSocket multiple items returned #8

@Tarang

Description

@Tarang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions