Class: Rack::Tracker::GoSquared::VisitorInfo

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/rack/tracker/go_squared/go_squared.rb

Instance Method Summary collapse

Methods inherited from OpenStruct

#to_h

Instance Method Details

#writeObject



9
10
11
# File 'lib/rack/tracker/go_squared/go_squared.rb', line 9

def write
  ['set', 'visitor', to_h].to_json.gsub(/\[|\]/, '')
end