solo 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 687b971f971f0a767de2c1b6c38ff8aad91f3543
4
+ data.tar.gz: 5a1a067b845889fbaf33e93048325d92fded553e
5
+ SHA512:
6
+ metadata.gz: e3f521e2c0580ee3823f4f2c49c6f023f5300320647052552f6c7694eae7c639cd3180e40ce7e2ec3e0f74fbcd45e639c1afb4b976c31f2e03cd85e9b9e6dd1d
7
+ data.tar.gz: 3ef7e4aa9768b46ca3fc8632d5e0f890cfa39da6afa145bfef587d06f0cce5db3ac62a504730a7d51e5107ce2162deff7cea2eac9d1c2c311619a949cb8f9bf6
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in solo.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Richard Holland
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # Solo
2
+
3
+ Gem to interface with Softwarekey SOLO
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'solo'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install solo
18
+
19
+ ## Usage
20
+
21
+ Solo.configure do |c|
22
+ c.author_id = 'yo author id'
23
+ c.userame = 'y0 usahname'
24
+ c.password = 'y0 password'
25
+ end
26
+
27
+ ## Contributing
28
+
29
+ 1. Fork it
30
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
31
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
32
+ 4. Push to the branch (`git push origin my-new-feature`)
33
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,11 @@
1
+ class Solo::Configuration
2
+ attr_accessor :author_id, :username, :password
3
+
4
+ def to_xml
5
+ xml = ""
6
+ xml += "<AuthorID>#{@author_id}</AuthorID>"
7
+ xml += "<UserID>#{@username}</UserID>"
8
+ xml += "<UserPassword>#{@password}</UserPassword>"
9
+ xml
10
+ end
11
+ end
@@ -0,0 +1,69 @@
1
+ module Solo
2
+ class Customer
3
+ def self.search(arguments)
4
+ endpoint = URI('http://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx/CustomerSearchS')
5
+ # build xml
6
+ xml = String.new
7
+ xml += '<CustomerSearch>'
8
+ xml += Solo.configuration.to_xml
9
+ arguments.each { |key, value| xml += "<#{key}>#{value}</#{key}>" }
10
+ xml += '</CustomerSearch>'
11
+ result = Net::HTTP.post_form(endpoint, 'xml' => xml)
12
+ parser = Nori.new
13
+ parsed = parser.parse(result.body)
14
+ return parsed["Customers"]
15
+ end
16
+
17
+ def self.search_by_id(id)
18
+ endpoint = URI('http://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx/GetCustomerDataByAuthorS')
19
+ if id.blank?
20
+ puts "ID can not be blank"
21
+ else
22
+ # build xml
23
+ xml = String.new
24
+ xml += '<GetCustomerDataByAuthor>'
25
+ xml += Solo.configuration.to_xml
26
+ xml += "<CustomerID>#{id}</CustomerID>"
27
+ xml += '</GetCustomerDataByAuthor>'
28
+ result = Net::HTTP.post_form(endpoint, 'xml' => xml)
29
+ parser = Nori.new
30
+ parsed = parser.parse(result.body)
31
+ return parsed["CustomerData"] if parsed["CustomerData"].has_key? "ResultCode"
32
+ return parsed["CustomerData"]["Customer"]
33
+ end
34
+ end
35
+
36
+ def self.create!(arguments)
37
+ endpoint = URI('http://secure.softwarekey.com/solo/webservices/customerserver.asmx/CreateCustomer')
38
+ auth = {}
39
+ auth[:authorID] = Solo.configuration.author_id
40
+ auth[:userID] = Solo.configuration.username
41
+ auth[:userPassword] = Solo.configuration.password
42
+ auth[:companyName] = ''
43
+ auth[:firstName] = ''
44
+ auth[:lastName] = ''
45
+ auth[:address1] = ''
46
+ auth[:address2] = ''
47
+ auth[:city] = ''
48
+ auth[:stateProvince] = ''
49
+ auth[:postalCode] = ''
50
+ auth[:country] = ''
51
+ auth[:email] = ''
52
+ auth[:password] = ''
53
+ auth[:phone] = ''
54
+ auth[:fax] = ''
55
+ auth[:nickname] = ''
56
+ auth[:offerProduct] = false
57
+ auth[:offerPartners] = false
58
+ auth.merge!(arguments)
59
+ result = Net::HTTP.post_form(endpoint, auth)
60
+ parser = Nori.new
61
+ parsed = parser.parse(result.body)
62
+ if parsed.has_key?("int")
63
+ return parsed["int"].to_i
64
+ else
65
+ return parsed
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,40 @@
1
+ module Solo
2
+ class License
3
+ SERVICEURI = 'http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx'
4
+
5
+ class << self
6
+ def infocheck(license_id)
7
+ endpoint = URI(SERVICEURI + '/InfoCheckS')
8
+ xml = String.new
9
+ xml += '<InfoCheckS>'
10
+ xml += Solo.configuration.to_xml
11
+ xml += "<LicenseID>#{license_id}</LicenseID>"
12
+ xml += '</InfoCheckS>'
13
+ result = Net::HTTP.post_form(endpoint, 'xml' => xml)
14
+ if result.code.to_i == 200
15
+ parser = Nori.new
16
+ parsed = parser.parse(result.body)
17
+ result = parsed["LicenseInfoCheck"]
18
+ end
19
+ return result
20
+ end
21
+
22
+ def add(arguments)
23
+ endpoint = URI(SERVICEURI + '/AddS')
24
+ xml = String.new
25
+ xml += '<AddS>'
26
+ xml += Solo.configuration.to_xml
27
+ arguments.each { |key, value| xml += "<#{key}>#{value}</#{key}>" }
28
+ xml += '</AddS>'
29
+ result = Net::HTTP.post_form(endpoint, 'xml' => xml)
30
+ if result.code.to_i == 200
31
+ parser = Nori.new
32
+ parsed = parser.parse(result.body)
33
+ result = parsed["AddPrepaidLicense"]
34
+ end
35
+ return result
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,3 @@
1
+ module Solo
2
+ VERSION = "0.0.1"
3
+ end
data/lib/solo.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'nori'
2
+ require 'net/http'
3
+ require 'solo/version'
4
+ require 'solo/configuration'
5
+ require 'solo/customer'
6
+ require 'solo/license'
7
+
8
+ module Solo
9
+ class << self
10
+ attr_accessor :configuration
11
+ end
12
+
13
+ def self.configure
14
+ self.configuration = Solo::Configuration.new
15
+ yield(self.configuration)
16
+ self.configuration
17
+ end
18
+ end
data/solo.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'solo/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "solo"
8
+ spec.version = Solo::VERSION
9
+ spec.authors = ["Richard Holland"]
10
+ spec.email = ["richard@drdispatch.com"]
11
+ spec.description = %q{Integrate with Softwarekey SOLO hosted server}
12
+ spec.summary = %q{Integrate with Softwarekey SOLO hosted server}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_runtime_dependency "nori"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "rspec"
26
+ spec.add_development_dependency "vcr"
27
+ spec.add_development_dependency "nokogiri"
28
+ spec.add_development_dependency "fakeweb"
29
+ end
data/spec/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ describe Solo do
4
+ describe Solo.configuration do
5
+ before(:each) { configure }
6
+
7
+ it "Can be configured with SOLO author,user,password" do
8
+ Solo.configuration.author_id.should == '12345'
9
+ Solo.configuration.username.should == 'nick'
10
+ Solo.configuration.password.should == 'fury'
11
+ end
12
+
13
+ it "Returns Valid XML For Solo Authorization" do
14
+ test_xml =
15
+ "<AuthorID>#{Solo.configuration.author_id}</AuthorID><UserID>#{Solo.configuration.username}</UserID><UserPassword>#{Solo.configuration.password}</UserPassword>"
16
+ Solo.configuration.to_xml.should == test_xml
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+
3
+ describe Solo do
4
+ before { configure }
5
+
6
+ describe Solo::Customer do
7
+ it "Searches SOLO Customers for a name" do
8
+ VCR.use_cassette('search_for_john') do
9
+ results = Solo::Customer.search(:FirstName => 'John')
10
+ results.should have_key "Customer"
11
+ end
12
+ end
13
+
14
+ it "Searches errors searching for BULLSHIT" do
15
+ VCR.use_cassette('search_for_bullshit') do
16
+ results = Solo::Customer.search(:BULLSHIT => 'John')
17
+ results.should have_key "ResultCode"
18
+ results["ResultCode"].should == "100"
19
+ end
20
+ end
21
+
22
+ it "Searches for customer ID via GetCustomerDataByAuthor" do
23
+ VCR.use_cassette('search_by_valid_id') do
24
+ customer = Solo::Customer.search_by_id('20496203')
25
+ customer.class.should == Hash
26
+ customer["CompanyName"].should == "TESTWEBSEV"
27
+ end
28
+ end
29
+
30
+ it "Searches and returns and error with invalid customer ID" do
31
+ VCR.use_cassette('search_by_invalid_id') do
32
+ customer = Solo::Customer.search_by_id('40496203')
33
+ customer.class.should == Hash
34
+ customer["ResultCode"].should == "100"
35
+ end
36
+ end
37
+
38
+ it "Creates a new customer" do
39
+ VCR.use_cassette('create_test_customer') do
40
+ customerid = Solo::Customer.create!(:companyName => 'Testwebsev',
41
+ :firstName => 'Ron',
42
+ :lastName => 'Paul')
43
+ customerid.should > 0
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,62 @@
1
+ require 'spec_helper'
2
+
3
+ describe Solo do
4
+ describe Solo::License do
5
+ before(:each) { configure }
6
+
7
+ it "Checks a valid license" do
8
+ VCR.use_cassette('check_valid_license') do
9
+ id = 1230
10
+ license = subject::License.infocheck(id)
11
+ license.should be_instance_of Hash
12
+ license["ResultCode"].should == '0'
13
+ end
14
+ end
15
+
16
+ it "Returns error on invalid license" do
17
+ VCR.use_cassette('check_invalid_license') do
18
+ id = 0
19
+ license = subject::License.infocheck(id)
20
+ license.should be_instance_of Hash
21
+ license["ResultCode"].should == '100'
22
+ end
23
+ end
24
+
25
+ it "Returns -2 on bad XML in the request" do
26
+ VCR.use_cassette('check_badxml_license') do
27
+ id = '<lol>'
28
+ license = subject::License.infocheck(id)
29
+ license.should be_instance_of Hash
30
+ license["ResultCode"].should == '-2'
31
+ end
32
+ end
33
+
34
+ it "Adds a valid license" do
35
+ VCR.use_cassette('add_license') do
36
+ license = subject::License.add(:ProdOptionID => '9754',
37
+ :CustomerID => '20496203',
38
+ :Expiration => '08/30/2012',
39
+ :ActivationCount => '5')
40
+ license.should be_instance_of Hash
41
+ license["ResultCode"].should == '0'
42
+ end
43
+ end
44
+
45
+ it "Fails to add an license with invalid product option" do
46
+ VCR.use_cassette('add_blank_license') do
47
+ license = subject::License.add(:ProdOptionID => '')
48
+ license.should be_instance_of Hash
49
+ license["ResultCode"].should == '1'
50
+ end
51
+ end
52
+
53
+ it "Fails to add an invalid license" do
54
+ VCR.use_cassette('add_invalid_license') do
55
+ license = subject::License.add(:ProdOptionID => '<testinvaliddata>')
56
+ license.should be_instance_of Hash
57
+ license["ResultCode"].should == '-2'
58
+ end
59
+ end
60
+
61
+ end
62
+ end
@@ -0,0 +1,33 @@
1
+ #
2
+ #This file was generated by the `rspec --init` command. Conventionally, all
3
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
4
+ # Require this file using `require "spec_helper"` to ensure that it is only
5
+ # loaded once.
6
+ #
7
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
8
+ require 'rubygems'
9
+ require 'bundler/setup'
10
+ require 'solo'
11
+ require 'vcr'
12
+
13
+ def configure
14
+ Solo.configure do |c|
15
+ c.author_id = '12345'
16
+ c.username = 'nick'
17
+ c.password = 'fury'
18
+ end
19
+ end
20
+
21
+ RSpec.configure do |config|
22
+ config.treat_symbols_as_metadata_keys_with_true_values = true
23
+ config.run_all_when_everything_filtered = true
24
+ config.filter_run :focus
25
+ config.order = 'random'
26
+ end
27
+
28
+ VCR.configure do |c|
29
+ c.cassette_library_dir = 'vcr_cassettes'
30
+ c.hook_into :fakeweb # or :fakeweb
31
+ #c.filter_sensitive_data
32
+ c.allow_http_connections_when_no_cassette = true
33
+ end
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx/AddS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CAddS%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CProdOptionID%3E%3C%2FProdOptionID%3E%3C%2FAddS%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 18:49:14 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '274'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AddPrepaidLicense
41
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n
42
+ \ <ResultCode>1</ResultCode>\r\n <LicenseID>0</LicenseID>\r\n <Password
43
+ />\r\n <SerialNumber />\r\n</AddPrepaidLicense>"
44
+ http_version: '1.1'
45
+ recorded_at: Thu, 30 Aug 2012 18:49:13 GMT
46
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx/AddS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CAddS%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CProdOptionID%3E%3Ctestinvaliddata%3E%3C%2FProdOptionID%3E%3C%2FAddS%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Fri, 31 Aug 2012 01:59:35 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '112'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AddPrepaidLicense>\r\n
41
+ \ <ResultCode>-2</ResultCode>\r\n</AddPrepaidLicense>"
42
+ http_version: '1.1'
43
+ recorded_at: Fri, 31 Aug 2012 01:59:35 GMT
44
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx/AddS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CAddS%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CProdOptionID%3E9754%3C%2FProdOptionID%3E%3CCustomerID%3E20496203%3C%2FCustomerID%3E%3CExpiration%3E08%2F30%2F2012%3C%2FExpiration%3E%3CActivationCount%3E5%3C%2FActivationCount%3E%3C%2FAddS%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 19:00:39 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '295'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AddPrepaidLicense
41
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n
42
+ \ <ResultCode>0</ResultCode>\r\n <LicenseID>60975019</LicenseID>\r\n <Password
43
+ />\r\n <SerialNumber>0</SerialNumber>\r\n</AddPrepaidLicense>"
44
+ http_version: '1.1'
45
+ recorded_at: Thu, 30 Aug 2012 19:00:39 GMT
46
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx/InfoCheckS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CInfoCheckS%3E%3CAuthorID%3E%3C%2FAuthorID%3E%3CUserID%3E%3C%2FUserID%3E%3CUserPassword%3E%3C%2FUserPassword%3E%3CLicenseID%3E%3Clol%3E%3C%2FLicenseID%3E%3C%2FInfoCheckS%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 18:32:47 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '110'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LicenseInfoCheck>\r\n
41
+ \ <ResultCode>-2</ResultCode>\r\n</LicenseInfoCheck>"
42
+ http_version: '1.1'
43
+ recorded_at: Thu, 30 Aug 2012 18:32:46 GMT
44
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx/InfoCheckS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CInfoCheckS%3E%3CAuthorID%3E%3C%2FAuthorID%3E%3CUserID%3E%3C%2FUserID%3E%3CUserPassword%3E%3C%2FUserPassword%3E%3CLicenseID%3E0%3C%2FLicenseID%3E%3C%2FInfoCheckS%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 18:32:46 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '882'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LicenseInfoCheck xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
41
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <ResultCode>100</ResultCode>\r\n
42
+ \ <EnteredDate>0001-01-01T00:00:00</EnteredDate>\r\n <Status />\r\n <Quantity>0</Quantity>\r\n
43
+ \ <ReplacedBy>0</ReplacedBy>\r\n <RemainingActivations>0</RemainingActivations>\r\n
44
+ \ <DownloadExpiration>0001-01-01T00:00:00</DownloadExpiration>\r\n <LicenseUpdate
45
+ />\r\n <CurrentVersion />\r\n <InvoiceNo>0</InvoiceNo>\r\n <ProductID>0</ProductID>\r\n
46
+ \ <ProductName />\r\n <LatestVersion />\r\n <ProdOptionID>0</ProdOptionID>\r\n
47
+ \ <OptionName />\r\n <TCFixedValue>0</TCFixedValue>\r\n <CustomerID>0</CustomerID>\r\n
48
+ \ <Company />\r\n <FirstName />\r\n <LastName />\r\n <Address1 />\r\n <Address2
49
+ />\r\n <City />\r\n <StateProvince />\r\n <PostalCode />\r\n <Country
50
+ />\r\n <Email />\r\n <Phone />\r\n <Fax />\r\n</LicenseInfoCheck>"
51
+ http_version: '1.1'
52
+ recorded_at: Thu, 30 Aug 2012 18:32:45 GMT
53
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlLicenseService.asmx/InfoCheckS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CInfoCheckS%3E%3CAuthorID%3E%3C%2FAuthorID%3E%3CUserID%3E%3C%2FUserID%3E%3CUserPassword%3E%3C%2FUserPassword%3E%3CLicenseID%3E1230%3C%2FLicenseID%3E%3C%2FInfoCheckS%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 18:32:46 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '952'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LicenseInfoCheck xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
41
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <ResultCode>0</ResultCode>\r\n
42
+ \ <EnteredDate>1999-12-07T15:42:54</EnteredDate>\r\n <Status>OK</Status>\r\n
43
+ \ <Quantity>1</Quantity>\r\n <ReplacedBy>0</ReplacedBy>\r\n <RemainingActivations>1</RemainingActivations>\r\n
44
+ \ <DownloadExpiration>1999-12-07T00:00:00</DownloadExpiration>\r\n <LicenseUpdate
45
+ />\r\n <CurrentVersion />\r\n <InvoiceNo>1233</InvoiceNo>\r\n <ProductID>6040</ProductID>\r\n
46
+ \ <ProductName>Wedding Magic 3.0 On-line</ProductName>\r\n <LatestVersion
47
+ />\r\n <ProdOptionID>43</ProdOptionID>\r\n <OptionName>Purchase</OptionName>\r\n
48
+ \ <TCFixedValue>0</TCFixedValue>\r\n <CustomerID>0</CustomerID>\r\n <Company
49
+ />\r\n <FirstName />\r\n <LastName />\r\n <Address1 />\r\n <Address2 />\r\n
50
+ \ <City />\r\n <StateProvince />\r\n <PostalCode />\r\n <Country />\r\n
51
+ \ <Email />\r\n <Phone />\r\n <Fax />\r\n</LicenseInfoCheck>"
52
+ http_version: '1.1'
53
+ recorded_at: Thu, 30 Aug 2012 18:32:45 GMT
54
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/customerserver.asmx/CreateCustomer
6
+ body:
7
+ encoding: US-ASCII
8
+ string: authorID=authorid&userID=userid&userPassword=password&companyName=Testwebsev&firstName=Ron&lastName=Paul&address1=&address2=&city=&stateProvince=&postalCode=&country=&email=&password=&phone=&fax=&nickname=&offerProduct=false&offerPartners=false
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 14:45:17 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '115'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<int xmlns=\"http://secure.softwarekey.com/solo/webservices/\">20496203</int>"
41
+ http_version: '1.1'
42
+ recorded_at: Thu, 30 Aug 2012 14:45:17 GMT
43
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx/GetCustomerDataByAuthorS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CGetCustomerDataByAuthor%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CCustomerID%3E40496203%3C%2FCustomerID%3E%3C%2FGetCustomerDataByAuthor%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 15:46:41 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '154'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<CustomerData>\r\n
41
+ \ <ResultCode>100</ResultCode>\r\n <ErrorMessage>Invalid CustomerID</ErrorMessage>\r\n</CustomerData>"
42
+ http_version: '1.1'
43
+ recorded_at: Thu, 30 Aug 2012 15:46:41 GMT
44
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx/GetCustomerDataByAuthorS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CGetCustomerDataByAuthor%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CCustomerID%3E20496203%3C%2FCustomerID%3E%3C%2FGetCustomerDataByAuthor%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 15:46:41 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '516'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<CustomerData>\r\n
41
+ \ <Customer>\r\n <CompanyName>TESTWEBSEV</CompanyName>\r\n <FirstName>RON</FirstName>\r\n
42
+ \ <LastName>PAUL</LastName>\r\n <Unregistered>false</Unregistered>\r\n
43
+ \ <Enabled>true</Enabled>\r\n <InvalidAddress>false</InvalidAddress>\r\n
44
+ \ <Taxable>true</Taxable>\r\n <ExcludeFromAll>false</ExcludeFromAll>\r\n
45
+ \ <IsDistributor>false</IsDistributor>\r\n <OfferProduct>false</OfferProduct>\r\n
46
+ \ <OfferPartners>false</OfferPartners>\r\n </Customer>\r\n</CustomerData>"
47
+ http_version: '1.1'
48
+ recorded_at: Thu, 30 Aug 2012 15:46:41 GMT
49
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx/CustomerSearchS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CCustomerSearch%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CBULLSHIT%3EJohn%3C%2FBULLSHIT%3E%3C%2FCustomerSearch%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 14:45:17 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '143'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Customers>\r\n <ResultCode>100</ResultCode>\r\n
41
+ \ <ErrorMessage>Invalid Input</ErrorMessage>\r\n</Customers>"
42
+ http_version: '1.1'
43
+ recorded_at: Thu, 30 Aug 2012 14:45:17 GMT
44
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,145 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx/CustomerSearchS
6
+ body:
7
+ encoding: US-ASCII
8
+ string: xml=%3CCustomerSearch%3E%3CAuthorID%3Eauthorid%3C%2FAuthorID%3E%3CUserID%3Euserid%3C%2FUserID%3E%3CUserPassword%3Epassword%3C%2FUserPassword%3E%3CFirstName%3EJohn%3C%2FFirstName%3E%3C%2FCustomerSearch%3E
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ date:
22
+ - Thu, 30 Aug 2012 14:45:16 GMT
23
+ server:
24
+ - Microsoft-IIS/6.0
25
+ p3p:
26
+ - CP="CAO DSP COR CURa ADMa DEVa CONi HISa OTPi OUR DELa SAMi BUS IND PHY ONL
27
+ UNI PUR COM NAV INT DEM STA"
28
+ x-powered-by:
29
+ - ASP.NET
30
+ x-aspnet-version:
31
+ - 2.0.50727
32
+ cache-control:
33
+ - private, max-age=0
34
+ content-type:
35
+ - text/xml; charset=utf-8
36
+ content-length:
37
+ - '8103'
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Customers>\r\n <Customer>\r\n
41
+ \ <CustomerID>20430896</CustomerID>\r\n <Password>A2HVVXFu</Password>\r\n
42
+ \ <CompanyName>MD EXPRESS NEW TEST</CompanyName>\r\n <ContactName />\r\n
43
+ \ <FirstName>JOHN</FirstName>\r\n <LastName>SELL</LastName>\r\n <MailAddr1>1301
44
+ PERRY RD STE 101</MailAddr1>\r\n <MailAddr2 />\r\n <City>PLAINFIELD</City>\r\n
45
+ \ <StateProvince>IN</StateProvince>\r\n <PostalCode>46168</PostalCode>\r\n
46
+ \ <Country>UNITED STATES</Country>\r\n <EMail>jsell@mdlogistics.com</EMail>\r\n
47
+ \ <Voice>(317) 838-8900</Voice>\r\n <Fax>(317) 837-3777</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
48
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
49
+ \ <CustomerID>20430215</CustomerID>\r\n <Password>dAGVx8ad</Password>\r\n
50
+ \ <CompanyName>UA TRANSPORT LLC</CompanyName>\r\n <ContactName />\r\n
51
+ \ <FirstName>JOHN</FirstName>\r\n <LastName>YEVTUKH</LastName>\r\n <MailAddr1>4041
52
+ JENNINGS RD</MailAddr1>\r\n <MailAddr2 />\r\n <City>CLEVELAND</City>\r\n
53
+ \ <StateProvince>OH</StateProvince>\r\n <PostalCode>44109</PostalCode>\r\n
54
+ \ <Country>UNITED STATES</Country>\r\n <EMail>UATRANSPORTLLC@SBCGLOBAL.NET</EMail>\r\n
55
+ \ <Voice>(877) 741-9047</Voice>\r\n <Fax>(216) 741-9158</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
56
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
57
+ \ <CustomerID>20410437</CustomerID>\r\n <Password>TsK031yf</Password>\r\n
58
+ \ <CompanyName>CHAPARRAL ENTERPRISES INC</CompanyName>\r\n <ContactName
59
+ />\r\n <FirstName>JOHN</FirstName>\r\n <LastName />\r\n <MailAddr1
60
+ />\r\n <MailAddr2 />\r\n <City />\r\n <StateProvince>TX</StateProvince>\r\n
61
+ \ <PostalCode />\r\n <Country />\r\n <EMail />\r\n <Voice>903-887-0615</Voice>\r\n
62
+ \ <Fax />\r\n <OfferProduct>False</OfferProduct>\r\n <OfferPartners>False</OfferPartners>\r\n
63
+ \ </Customer>\r\n <Customer>\r\n <CustomerID>20372569</CustomerID>\r\n
64
+ \ <Password>jt130</Password>\r\n <CompanyName>JAX TRANSPORTATION</CompanyName>\r\n
65
+ \ <ContactName />\r\n <FirstName>JOHNNY</FirstName>\r\n <LastName
66
+ />\r\n <MailAddr1>130 LIBERTY LANE</MailAddr1>\r\n <MailAddr2 />\r\n
67
+ \ <City>SPARTANBURG</City>\r\n <StateProvince>NC</StateProvince>\r\n
68
+ \ <PostalCode>29316</PostalCode>\r\n <Country>UNITED STATES</Country>\r\n
69
+ \ <EMail>jaxtransportinc@yahoo.com</EMail>\r\n <Voice>(864) 327-3676</Voice>\r\n
70
+ \ <Fax>(864) 327-3677</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
71
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
72
+ \ <CustomerID>20368588</CustomerID>\r\n <Password>bt196</Password>\r\n
73
+ \ <CompanyName>BEIMEL TRANSPORTATION</CompanyName>\r\n <ContactName />\r\n
74
+ \ <FirstName>JOHN</FirstName>\r\n <LastName>BEIMEL</LastName>\r\n <MailAddr1>PO
75
+ BOX 196</MailAddr1>\r\n <MailAddr2 />\r\n <City>KERSEY</City>\r\n <StateProvince>PA</StateProvince>\r\n
76
+ \ <PostalCode>15846</PostalCode>\r\n <Country>UNITED STATES</Country>\r\n
77
+ \ <EMail>rick@beimeltrans.com</EMail>\r\n <Voice>814-885-8990</Voice>\r\n
78
+ \ <Fax>814-885-8999</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
79
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
80
+ \ <CustomerID>20365435</CustomerID>\r\n <Password>log390</Password>\r\n
81
+ \ <CompanyName>LOGISTIC EXPRESS INC</CompanyName>\r\n <ContactName />\r\n
82
+ \ <FirstName>JOHN FOTAKIS</FirstName>\r\n <LastName />\r\n <MailAddr1
83
+ />\r\n <MailAddr2 />\r\n <City />\r\n <StateProvince />\r\n <PostalCode
84
+ />\r\n <Country>UNITED STATES</Country>\r\n <EMail>lxicorp@gmail.com</EMail>\r\n
85
+ \ <Voice>(757) 962-2836</Voice>\r\n <Fax>(757) 963-8498</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
86
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
87
+ \ <CustomerID>20242937</CustomerID>\r\n <Password>amexp123</Password>\r\n
88
+ \ <CompanyName>AMERICAN EXPRESS LOGISTICS</CompanyName>\r\n <ContactName
89
+ />\r\n <FirstName>JOHN</FirstName>\r\n <LastName>WILLIAMS</LastName>\r\n
90
+ \ <MailAddr1>14175 W INDIAN SCHOOL RD SUITE B4-614</MailAddr1>\r\n <MailAddr2
91
+ />\r\n <City>GOODYEAR</City>\r\n <StateProvince>AZ</StateProvince>\r\n
92
+ \ <PostalCode>85395</PostalCode>\r\n <Country>UNITED STATES</Country>\r\n
93
+ \ <EMail />\r\n <Voice>602-732-4541</Voice>\r\n <Fax>520-334-1135</Fax>\r\n
94
+ \ <OfferProduct>False</OfferProduct>\r\n <OfferPartners>False</OfferPartners>\r\n
95
+ \ </Customer>\r\n <Customer>\r\n <CustomerID>20228714</CustomerID>\r\n
96
+ \ <Password>md1301</Password>\r\n <CompanyName>MD EXPRESS</CompanyName>\r\n
97
+ \ <ContactName />\r\n <FirstName>JOHN</FirstName>\r\n <LastName>SELL</LastName>\r\n
98
+ \ <MailAddr1>1301 PERRY RD STE 101</MailAddr1>\r\n <MailAddr2 />\r\n
99
+ \ <City>PLAINFIELD</City>\r\n <StateProvince>IN</StateProvince>\r\n <PostalCode>46168</PostalCode>\r\n
100
+ \ <Country>UNITED STATES</Country>\r\n <EMail>jsell@mdlogistics.com</EMail>\r\n
101
+ \ <Voice>(317) 838-8900</Voice>\r\n <Fax>(317) 707-3255</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
102
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
103
+ \ <CustomerID>20226411</CustomerID>\r\n <Password>ht314</Password>\r\n
104
+ \ <CompanyName>HYDER TRANSPORTATION LLC</CompanyName>\r\n <ContactName
105
+ />\r\n <FirstName>JOHN</FirstName>\r\n <LastName>LUNDY</LastName>\r\n
106
+ \ <MailAddr1>314 HYDER ST</MailAddr1>\r\n <MailAddr2 />\r\n <City>HENDERSONVILLE</City>\r\n
107
+ \ <StateProvince>NC</StateProvince>\r\n <PostalCode>28792</PostalCode>\r\n
108
+ \ <Country>UNITED STATES</Country>\r\n <EMail>JOHN@HYDERTRANS.COM</EMail>\r\n
109
+ \ <Voice>(877) 550-5508</Voice>\r\n <Fax>(828) 693-7438</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
110
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
111
+ \ <CustomerID>20210644</CustomerID>\r\n <Password>il6729</Password>\r\n
112
+ \ <CompanyName>INNER LOOP TRANSPORT LLC</CompanyName>\r\n <ContactName
113
+ />\r\n <FirstName>JOHN</FirstName>\r\n <LastName />\r\n <MailAddr1>6729
114
+ CULLEN BLVD</MailAddr1>\r\n <MailAddr2 />\r\n <City>HOUSTON</City>\r\n
115
+ \ <StateProvince>TX</StateProvince>\r\n <PostalCode>HOUSTON</PostalCode>\r\n
116
+ \ <Country />\r\n <EMail>iltransport@yahoo.com</EMail>\r\n <Voice>(713)
117
+ 748-7795</Voice>\r\n <Fax>(309) 416-7598</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
118
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
119
+ \ <CustomerID>20201314</CustomerID>\r\n <Password>qlog2131</Password>\r\n
120
+ \ <CompanyName>QUALITY LOGISTICS / SC</CompanyName>\r\n <ContactName
121
+ />\r\n <FirstName>ROB JOHNSON</FirstName>\r\n <LastName />\r\n <MailAddr1>2131
122
+ WOODRUFF RD SUITE 2100</MailAddr1>\r\n <MailAddr2 />\r\n <City>GREENVILLE</City>\r\n
123
+ \ <StateProvince>SC</StateProvince>\r\n <PostalCode>29607</PostalCode>\r\n
124
+ \ <Country>UNITED STATES</Country>\r\n <EMail>robjohnson@cybermatrx.com</EMail>\r\n
125
+ \ <Voice>864-879-7770</Voice>\r\n <Fax>864-879-7550</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
126
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
127
+ \ <CustomerID>20195137</CustomerID>\r\n <Password>jon751</Password>\r\n
128
+ \ <CompanyName>JONNY ON THE SPOT LLC</CompanyName>\r\n <ContactName />\r\n
129
+ \ <FirstName>JOHN</FirstName>\r\n <LastName>RANEY</LastName>\r\n <MailAddr1>751
130
+ D WEST COLLISEUM BLVD</MailAddr1>\r\n <MailAddr2 />\r\n <City>FT WAYNE</City>\r\n
131
+ \ <StateProvince>IN</StateProvince>\r\n <PostalCode>46808</PostalCode>\r\n
132
+ \ <Country>UNITED STATES</Country>\r\n <EMail>jon@jonnyonthespot.biz</EMail>\r\n
133
+ \ <Voice>260-744-3059</Voice>\r\n <Fax>260-969-8563</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
134
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n <Customer>\r\n
135
+ \ <CustomerID>20191341</CustomerID>\r\n <Password>gse33523</Password>\r\n
136
+ \ <CompanyName>FISHER BROTHERS TRUCKING INC</CompanyName>\r\n <ContactName
137
+ />\r\n <FirstName>MATTHEW / JOHN</FirstName>\r\n <LastName>FISHER</LastName>\r\n
138
+ \ <MailAddr1>33523 POND RD</MailAddr1>\r\n <MailAddr2 />\r\n <City>DELANO</City>\r\n
139
+ \ <StateProvince>CA</StateProvince>\r\n <PostalCode>93215</PostalCode>\r\n
140
+ \ <Country>UNITED STATES</Country>\r\n <EMail>mfisher@fisherbrostrucking.com</EMail>\r\n
141
+ \ <Voice>(661) 792-3715</Voice>\r\n <Fax>(661) 792-2158</Fax>\r\n <OfferProduct>False</OfferProduct>\r\n
142
+ \ <OfferPartners>False</OfferPartners>\r\n </Customer>\r\n</Customers>"
143
+ http_version: '1.1'
144
+ recorded_at: Thu, 30 Aug 2012 14:45:16 GMT
145
+ recorded_with: VCR 2.2.4
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: solo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Richard Holland
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nori
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: nokogiri
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: fakeweb
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Integrate with Softwarekey SOLO hosted server
112
+ email:
113
+ - richard@drdispatch.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - .gitignore
119
+ - .rspec
120
+ - Gemfile
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - lib/solo.rb
125
+ - lib/solo/configuration.rb
126
+ - lib/solo/customer.rb
127
+ - lib/solo/license.rb
128
+ - lib/solo/version.rb
129
+ - solo.gemspec
130
+ - spec/.rspec
131
+ - spec/configuration_spec.rb
132
+ - spec/customer_spec.rb
133
+ - spec/license_spec.rb
134
+ - spec/spec_helper.rb
135
+ - vcr_cassettes/add_blank_license.yml
136
+ - vcr_cassettes/add_invalid_license.yml
137
+ - vcr_cassettes/add_license.yml
138
+ - vcr_cassettes/check_badxml_license.yml
139
+ - vcr_cassettes/check_invalid_license.yml
140
+ - vcr_cassettes/check_valid_license.yml
141
+ - vcr_cassettes/create_test_customer.yml
142
+ - vcr_cassettes/search_by_invalid_id.yml
143
+ - vcr_cassettes/search_by_valid_id.yml
144
+ - vcr_cassettes/search_for_bullshit.yml
145
+ - vcr_cassettes/search_for_john.yml
146
+ homepage: ''
147
+ licenses:
148
+ - MIT
149
+ metadata: {}
150
+ post_install_message:
151
+ rdoc_options: []
152
+ require_paths:
153
+ - lib
154
+ required_ruby_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ! '>='
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ requirements: []
165
+ rubyforge_project:
166
+ rubygems_version: 2.1.5
167
+ signing_key:
168
+ specification_version: 4
169
+ summary: Integrate with Softwarekey SOLO hosted server
170
+ test_files:
171
+ - spec/.rspec
172
+ - spec/configuration_spec.rb
173
+ - spec/customer_spec.rb
174
+ - spec/license_spec.rb
175
+ - spec/spec_helper.rb