Closed Scott-Borecki closed 2 years ago
Here's an example output hash from the endpoint:
{:data=>
[{:id=>"9103",
:type=>"user",
:attributes=>
{:email=>"karma@mueller.com",
:google_id=>"3dd2wh0igxl077dayldzz",
:google_image_url=>"https://robohash.org/delectusrationetemporibus.png?size=300x300&set=set1",
:zip_code=>"19852",
:summary=>"It is impossible to begin to learn that which one thinks one already knows.",
:goal=>"Lose Weight",
:availability_morning=>true,
:availability_afternoon=>true,
:availability_evening=>true,
:full_name=>"Kirk Vandervort"}},
{:id=>"9104",
:type=>"user",
:attributes=>
{:email=>"joycelyn@klein-lemke.co",
:google_id=>"mh5n3xkw4x24tkdq22hpi",
:google_image_url=>"https://robohash.org/sitoptiofugit.png?size=300x300&set=set1",
:zip_code=>"28037",
:summary=>"The virtue of justice consists in moderation, as regulated by wisdom.",
:goal=>"Maintain Weight",
:availability_morning=>true,
:availability_afternoon=>true,
:availability_evening=>false,
:full_name=>"The Hon. Rhoda Quigley"}},
{:id=>"9105",
:type=>"user",
:attributes=>
{:email=>"arnoldo@mayer.info",
:google_id=>"p69op2gvdeityc3mmqlex",
:google_image_url=>"https://robohash.org/innecessitatibusmolestias.png?size=300x300&set=set1",
:zip_code=>"05342",
:summary=>"Love is composed of a single soul inhabiting two bodies.",
:goal=>"Maintain Weight",
:availability_morning=>false,
:availability_afternoon=>false,
:availability_evening=>false,
:full_name=>"Heike Beahan"}},
{:id=>"9107",
:type=>"user",
:attributes=>
{:email=>"lonna@mayert-glover.com",
:google_id=>"ppn6klzsu1nvfalrw3qk7",
:google_image_url=>"https://robohash.org/autmodiet.png?size=300x300&set=set1",
:zip_code=>"47102",
:summary=>"The mind is not a vessel to be filled but a fire to be kindled.",
:goal=>"Maintain Weight",
:availability_morning=>true,
:availability_afternoon=>true,
:availability_evening=>false,
:full_name=>"Ying Nader"}}],
:meta=>{:gym_member_count=>4}}
Changes Implemented:
53
gym_member_count
injson_hash[:meta][:gym_member_count]
Quality Control Checklist:
Blockers (if applicable):
Next Steps & Additional Notes: