Sha256: 491f2173db1f297d361a66c1e1f1e8f9342cf2163ff4183b7e0c242623cc41d9
Contents?: true
Size: 910 Bytes
Versions: 6
Compression:
Stored size: 910 Bytes
Contents
#!/usr/bin/env ruby # LeadTune API Ruby Gem # # http://github.com/leadtune/leadtune-ruby # Eric Wollesen (mailto:devs@leadtune.com) # Copyright 2010 LeadTune LLC require "rubygems" require "pp" require File.join(File.dirname(__FILE__), "../lib/leadtune") begin p = Leadtune::Prospect.get({:prospect_id => "4c93fda2b34601ddb7d1c030", :username => "admin@acme.edu", :password => "admin", :organization => "AcmeU",}) p.browser_family = "Firefox" p.leadtune_host = "http://localhost:8080" p.put p = Leadtune::Prospect.get({:prospect_id => "4c92f8d6b34601dd5ecac030", :username => "admin@acme.edu", :password => "admin", :organization => "AcmeU",}) pp p.factors rescue Leadtune::LeadtuneError => e puts e.to_s end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
leadtune-0.0.6 | spec/put.rb |
leadtune-0.0.5 | spec/put.rb |
leadtune-0.0.4 | spec/put.rb |
leadtune-0.0.3 | spec/put.rb |
leadtune-0.0.2 | spec/put.rb |
leadtune-0.0.1 | spec/put.rb |