If GA has no results for the account/profile/web property the response JSON does not include the 'items' key. In this situation you end up with:

NoMethodError: undefined method `map' for nil:NilClass
Merge pull request #30 from tpitale/handle-no-items-results

If GA has no results for the account/profile/web property the response J...