Sha256: 6ba494cbb172f6671c55133299eb501e11003d7b15d666a3f5bb54c14c65af9a
Contents?: true
Size: 442 Bytes
Versions: 5
Compression:
Stored size: 442 Bytes
Contents
require 'zoro' Zoro.auth_token = 'some-valid-auth-token' Zoro.http_connection = Faraday::Connection.new do |conn| conn.request :url_encoded conn.response :logger #Log Faraday to STDOUT for easier testing conn.adapter Faraday.default_adapter end lead = Zoro::Lead.new lead.add_field "First Name", "Test" lead.add_field "Last Name", "trevor trevor" lead.add_field "Email", "trevor@paytrace.com" response = lead.save! puts response.body
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
zoro-0.0.5 | examples/add_lead.rb |
zoro-0.0.4 | examples/add_lead.rb |
zoro-0.0.3 | examples/add_lead.rb |
zoro-0.0.2 | examples/add_lead.rb |
zoro-0.0.1 | examples/add_lead.rb |