How to access Hash containing Array of Hashes?

Can anyone give me an example of getting each individual elements of
Hashes containing array of Hashes in httparty parsed response.

Thanks in advance

···

--
Posted via http://www.ruby-forum.com/.

hash_in_response['key'][index_of_array]['other_key']

···

On Mon, Dec 12, 2011 at 04:56:05AM +0900, rubythemystery ruby wrote:

Can anyone give me an example of getting each individual elements of
Hashes containing array of Hashes in httparty parsed response.

Thanks in advance

--
Posted via http://www.ruby-forum.com/\.

--
Markus Schirp

Phone: +49 201 / 360 379 14
Fax: +49 201 / 360 379 16
Web: www.seonic.net
Email: mbj@seonic.net
Twitter: twitter.com/_m_b_j_
OS-Code: github.com/mbj

Markus

Thanks for your valuable inputs. If I need to check all the indexes,
What I need to do. This is because, I am not sure in which index, my
value will occur.

So, to access all the indexes of array, What i need to do?

Thanks in advance

···

--
Posted via http://www.ruby-forum.com/.

Markus Schirp wrote in post #1036192:

hash_in_response['key'][index_of_array]['other_key']

Can anyone give me an example of getting each individual elements of
Hashes containing array of Hashes in httparty parsed response.

Thanks in advance

--
Posted via http://www.ruby-forum.com/\.

--
Markus Schirp

Phone: +49 201 / 360 379 14
Fax: +49 201 / 360 379 16
Web: www.seonic.net
Email: mbj@seonic.net
Twitter: twitter.com/_m_b_j_
OS-Code: github.com/mbj

Markus

Thanks for your valuable inputs. If I need to check all the indexes,
What I need to do. This is because, I am not sure in which index, my
value will occur.

So, to access all the indexes of array, What i need to do?

Thanks in advance

···

On Mon, Dec 12, 2011 at 04:56:05AM +0900, rubythemystery ruby wrote:

--
Posted via http://www.ruby-forum.com/\.