Class: Chronicle::Foursquare::CheckinTransformer

Inherits:
ETL::Transformer
  • Object
show all
Defined in:
lib/chronicle/foursquare/checkin_transformer.rb

Instance Method Summary collapse

Instance Method Details

#transform(record) ⇒ Object



13
14
15
16
17
# File 'lib/chronicle/foursquare/checkin_transformer.rb', line 13

def transform(record)
  checkin = record.data
  actor = record.extraction.meta[:actor]
  build_checkin(checkin, actor)
end