Class: GoogleAnalyticsFeeds::RowHandler Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/google_analytics_feeds.rb

Overview

This class is abstract.

A SAX-style row handler.

Extend this class and override the methods you care about to handle data feed row data.

Instance Method Summary collapse

Instance Method Details

#end_rowsObject

Called after all rows have been parsed.

By default, does nothing.



92
93
# File 'lib/google_analytics_feeds.rb', line 92

def end_rows
end

#row(row) ⇒ Object

Called when each row is parsed.

By default, does nothing.

Parameters:

  • row

    Hash



86
87
# File 'lib/google_analytics_feeds.rb', line 86

def row(row)
end

#start_rowsObject

Called before any row is parsed.

By default, does nothing.



78
79
# File 'lib/google_analytics_feeds.rb', line 78

def start_rows
end