id | first_name | last_name |
---|---|---|
1 | Trey | Anastasio |
2 | Mike | Gordon |
becomes
[
{
'id': 1,
'first_name': 'Trey',
'last_name': 'Anastasio'
},
{
'id': 2,
'first_name': 'Mike',
'last_name': 'Gordon'
}
]
Set the following environment variables:
export GOOGLE_ACCOUNT_TYPE=service_account
export GOOGLE_CLIENT_EMAIL=...
export GOOGLE_PRIVATE_KEY=...
See google-auth-library-ruby
for additional detail.