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
bump version for PR #30
Allow applying filters to any FilterSet

Since we want to apply filter expressions for dynamic segments, we need
to be able to apply filter expressions not just to Query#filters.

A Query can have a dynamic segment

A dynamic segment is a bit like a filter, except the subset happens
before dimensions and metrics are calculated.

This commits adds the ability to apply filter expressions, but for the
dynamic segment instead of the filters, mostly by reusing the existing
code for filter expressions.

Allow to define dynamic segment filters on Model

Dynamic segment uses filter expressions, just like plain filters.

This allows defining a dynamic segment in very much the same way filters
are defined.

Documentation for Dynamic segment