Class: Rack::Tracker::Zanox::Lead

Inherits:
OpenStruct show all
Defined in:
lib/rack/tracker/zanox/zanox.rb

Instance Method Summary collapse

Methods inherited from OpenStruct

#to_h

Instance Method Details

#writeObject



15
16
17
18
19
# File 'lib/rack/tracker/zanox/zanox.rb', line 15

def write
  to_h.map do |k,v|
    "#{k.to_s.camelize}=[[#{v}]]"
  end.join('&')
end