# File lib/fog/ecloud/models/compute/groups.rb, line 12
        def all
          data = service.get_groups(href).body
          data = if data == ""
                   ""
                 else
                   data[:Groups] ? data[:Groups][:Group] : data
                 end
          if data == "" || !data.is_a?(Array) && data[:type] == "application/vnd.tmrk.cloud.layoutRow"
            nil
          else
            load(data)
          end
        end