quickbooks_web_connector 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 571ae04bbdd6cefeb9f277118239b06bf98dc292
4
- data.tar.gz: 2a121acd4c1450fa7626b00c8fb4555a8d2c0af2
3
+ metadata.gz: 8a491cb9f0549304c2e08c21c13aa9e868229df2
4
+ data.tar.gz: 6e4caa2e3cf018b81afeff3dbe436ca10ad30dbd
5
5
  SHA512:
6
- metadata.gz: 26b37af64bafefbcf016367e66cd13b0db7aaf9192dff2d0b6e0ab70f48e30fe15c843c4fa2503c1cfbd2dc4a94cde2ae2b72c9d29a4022a36f424655c8f58b5
7
- data.tar.gz: 5a5045052b55c5fd906afd4a9cb4b5db28d2e54c9351d5638560bc4f6a6490b139d05add8f4ad02b61c6ef8891cb723abaebc7b868d65dffdeeb9029151ba717
6
+ metadata.gz: 85328aefc3f6c40d314a3cab1759803bd8a74e6227a74d91b9fc6141ffa45c394bc2f0282ca96a9c9ca7d189c2ff96913226c31c434078f20a76eedd6b579cc2
7
+ data.tar.gz: f945ddb296107d75d70af862cf55c86723722b5c09be3b39d9ec17976919e68165f0e5a86f99d4b50c97f73cf20220457cfe84be69634be8c2de46d20ee823fe
data/README.md CHANGED
@@ -8,20 +8,47 @@ QuickbooksWebConnector is heavily inspired by [QBWC](https://github.com/skryl/qb
8
8
  Requirements
9
9
  ------------
10
10
 
11
- QuickbooksWebConnector has only been tested on Rails 3.2.9
11
+ QuickbooksWebConnector is tested on Rails 3.2, 4.0, and 4.1 as well as Ruby 2.0 and 2.1.
12
12
 
13
- Overview
13
+ Usage
14
14
  --------
15
15
 
16
- QuickbooksWebConnector allows you to create requests and place them on the queue for the Quickbooks Web Connector to fetch, with a response handler to handle the Quickbooks response.
16
+ QuickbooksWebConnector requires you to specify both a request builder and a request handler for generating and processing your job, respectively.
17
17
 
18
- A response handler is a Ruby class than responds to the `perform` method that receives the response XML as a string and any additional arguments you specified when enqueueing the request. Here's an example:
18
+ The request builder should be a Ruby class that responds to the `perform` method, which will receive any additional arguments you supply when enqueueing the job, and returns the XML to be sent to QuickBooks. This example uses the [builder](https://github.com/jimweirich/builder) library to generate the XML.
19
+
20
+ ```ruby
21
+ class AddCustomerBuilder
22
+
23
+ # customer_id would be passed as the 3rd argument to QuickbooksWebConnector.enqueue
24
+ def self.perform(customer_id)
25
+ customer = Customer.find(customer_id)
26
+
27
+ xml = Builder::XmlMarkup.new
28
+ xml.instruct!
29
+ xml.instruct! :qbxml, version: '6.0'
30
+ xml.QBXML do
31
+ xml.QBXMLMsgsRq onError: 'stopOnError' do
32
+ xml.CustomerAddRq do
33
+ xml.CustomerAdd do
34
+ xml.Name customer.name
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+
41
+ end
42
+ ```
43
+
44
+ The response handler should be a Ruby class that responds to the `perform` method, which will receive the response XML as a string and any additional arguments you specified when enqueueing the job. This example uses the REXML library to parse the XML response from QuickBooks.
19
45
 
20
46
  ```ruby
21
47
  require 'rexml/document'
22
48
 
23
49
  class AddCustomerHandler
24
50
 
51
+ # customer_id would be passed as the 3rd argument to QuickbooksWebConnector.enqueue
25
52
  def self.perform(response_xml, customer_id)
26
53
  customer = Customer.find(customer_id)
27
54
  customer.quickbooks_list_id = REXML::Document.new(response_xml).root.text('QBXMLMsgsRs/CustomerAddRs/CustomerRet/ListID')
@@ -31,7 +58,7 @@ class AddCustomerHandler
31
58
  end
32
59
  ```
33
60
 
34
- To enqueue a request, you might add this to your model as an `after_create` callback, or maybe your controller's create action:
61
+ To enqueue a job, you might add a line like this to your model as an `after_create` callback, or maybe your controller's create action:
35
62
 
36
63
  ```ruby
37
64
  class Customer
@@ -39,57 +66,41 @@ class Customer
39
66
  after_create :add_to_quickbooks
40
67
 
41
68
  def add_to_quickbooks
42
- request_xml = <<-EOT
43
- <?xml version="1.0" encoding="UTF-8"?>
44
- <?qbxml version="6.0"?>
45
- <QBXML>
46
- <QBXMLMsgsRq onError="stopOnError">
47
- <CustomerAddRq>
48
- <CustomerAdd>
49
- <Name>FooBar Inc</Name>
50
- </CustomerAdd>
51
- </CustomerAddRq>
52
- </QBXMLMsgsRq>
53
- </QBXML>
54
- EOT
55
-
56
- QuickbooksWebConnector.enqueue request_xml, AddCustomerHandler, id
69
+ QuickbooksWebConnector.enqueue AddCustomerBuilder, AddCustomerHandler, id
57
70
  end
58
71
 
59
72
  end
60
73
  ```
61
74
 
62
- Once Quickbooks Web Connector received your request and processed it, it would return a response, and your handler will get called like:
63
-
64
- ```ruby
65
- AddCustomerHandler.perform response_xml, 1
66
- ```
67
-
68
75
  Installing QuickbooksWebConnector
69
76
  =================================
70
77
 
71
- First include it in your Gemfile:
78
+ First, include it in your Gemfile:
72
79
 
73
- ```
74
- $ cat Gemfile
75
- ...
80
+ ```ruby
76
81
  gem 'quickbooks_web_connector'
77
- ...
78
82
  ```
79
83
 
80
- Next install it with Bundler:
84
+ Next, install it with Bundler:
81
85
 
82
86
  ```
83
87
  $ bundle install
84
88
  ```
85
89
 
86
- Mount the engine in your routes.rb
90
+ Mount the engine in your routes.rb:
87
91
 
88
- ```
92
+ ```ruby
89
93
  mount QuickbooksWebConnector::Engine => "/quickbooks_web_connector"
90
94
  ```
91
95
 
92
- TODO: Add note about config in initializer
96
+ Configure it by creating a file in `config/initializers` named `quickbooks_web_connector.rb`
97
+
98
+ ```ruby
99
+ QuickbooksWebConnector.configure do |c|
100
+ # Username, password, path to QBW file
101
+ c.user 'web_connector', 'top-secret-password', 'C:\path\to\company\file.QBW'
102
+ end
103
+ ```
93
104
 
94
105
  Now start your application:
95
106
 
@@ -97,6 +108,8 @@ Now start your application:
97
108
  $ rails server
98
109
  ```
99
110
 
111
+ Now perform some actions in you application that will queue up some jobs, then run the Web Connector application to have QuickBooks process those jobs.
112
+
100
113
  Contributing
101
114
  ============
102
115
 
@@ -1,3 +1,3 @@
1
1
  module QuickbooksWebConnector
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -70,6 +70,10 @@ module QuickbooksWebConnector
70
70
  # It assumes the class you're passing it is a real Ruby class (not
71
71
  # a string or reference).
72
72
  def enqueue(request_builder, response_handler, *args)
73
+ if redis.exists(:queue_size)
74
+ redis.incr(:queue_size)
75
+ end
76
+
73
77
  Job.create(request_builder, response_handler, *args)
74
78
  end
75
79
 
@@ -8487,3 +8487,336 @@ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8487
8487
  Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8488
8488
  Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8489
8489
  Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8490
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8491
+ Parameters: {"username"=>"jane"}
8492
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.3ms)
8493
+ Rendered text template (0.0ms)
8494
+ Sent data jane.qwc (0.4ms)
8495
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8496
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8497
+ Parameters: {"username"=>"jane"}
8498
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8499
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8500
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8501
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8502
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8503
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8504
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8505
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8506
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8507
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8508
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8509
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8510
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8511
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8512
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8513
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8514
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8515
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8516
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8517
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8518
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8519
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8520
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8521
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8522
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8523
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8524
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8525
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8526
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8527
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8528
+ Parameters: {"username"=>"jane"}
8529
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.4ms)
8530
+ Rendered text template (0.0ms)
8531
+ Sent data jane.qwc (0.4ms)
8532
+ Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8533
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8534
+ Parameters: {"username"=>"jane"}
8535
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8536
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8537
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8538
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8539
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8540
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8541
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8542
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8543
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8544
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8545
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8546
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8547
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8548
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8549
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8550
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8551
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8552
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8553
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8554
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8555
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8556
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8557
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8558
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8559
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8560
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8561
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8562
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8563
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8564
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8565
+ Parameters: {"username"=>"jane"}
8566
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.4ms)
8567
+ Rendered text template (0.0ms)
8568
+ Sent data jane.qwc (0.6ms)
8569
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8570
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8571
+ Parameters: {"username"=>"jane"}
8572
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8573
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8574
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8575
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8576
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8577
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8578
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8579
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8580
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8581
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8582
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8583
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8584
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8585
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8586
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8587
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8588
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8589
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8590
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8591
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8592
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8593
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8594
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8595
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8596
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8597
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8598
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8599
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8600
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8601
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8602
+ Parameters: {"username"=>"jane"}
8603
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.8ms)
8604
+ Rendered text template (0.0ms)
8605
+ Sent data jane.qwc (0.5ms)
8606
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8607
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8608
+ Parameters: {"username"=>"jane"}
8609
+ Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8610
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8611
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8612
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8613
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8614
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8615
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8616
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8617
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8618
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8619
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8620
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8621
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8622
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8623
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8624
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8625
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8626
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8627
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8628
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8629
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8630
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8631
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8632
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8633
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8634
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8635
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8636
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8637
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8638
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8639
+ Parameters: {"username"=>"jane"}
8640
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.4ms)
8641
+ Rendered text template (0.0ms)
8642
+ Sent data jane.qwc (0.6ms)
8643
+ Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8644
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8645
+ Parameters: {"username"=>"jane"}
8646
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8647
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8648
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8649
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8650
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8651
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8652
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8653
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8654
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8655
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8656
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8657
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8658
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8659
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8660
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8661
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8662
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8663
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8664
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8665
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8666
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8667
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8668
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8669
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8670
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8671
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8672
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8673
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8674
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8675
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8676
+ Parameters: {"username"=>"jane"}
8677
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.5ms)
8678
+ Rendered text template (0.0ms)
8679
+ Sent data jane.qwc (0.5ms)
8680
+ Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8681
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8682
+ Parameters: {"username"=>"jane"}
8683
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8684
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8685
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8686
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8687
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8688
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8689
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8690
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8691
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8692
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8693
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8694
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8695
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8696
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8697
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8698
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8699
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8700
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8701
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8702
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8703
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8704
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8705
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8706
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8707
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8708
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8709
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8710
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8711
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8712
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8713
+ Parameters: {"username"=>"jane"}
8714
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.7ms)
8715
+ Rendered text template (0.0ms)
8716
+ Sent data jane.qwc (0.9ms)
8717
+ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.0ms)
8718
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8719
+ Parameters: {"username"=>"jane"}
8720
+ Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8721
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8722
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
8723
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8724
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8725
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8726
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8727
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8728
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8729
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8730
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8731
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8732
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8733
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8734
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8735
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8736
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8737
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8738
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8739
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8740
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8741
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8742
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8743
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8744
+ Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8745
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8746
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8747
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8748
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8749
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8750
+ Parameters: {"username"=>"jane"}
8751
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.4ms)
8752
+ Rendered text template (0.0ms)
8753
+ Sent data jane.qwc (0.5ms)
8754
+ Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8755
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8756
+ Parameters: {"username"=>"jane"}
8757
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8758
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8759
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8760
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8761
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8762
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8763
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8764
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8765
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8766
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8767
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8768
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8769
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8770
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8771
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8772
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8773
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8774
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8775
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8776
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8777
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8778
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8779
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8780
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8781
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8782
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8783
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8784
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8785
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8786
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8787
+ Parameters: {"username"=>"jane"}
8788
+ Rendered /Users/chrisgunther/Code/quickbooks_web_connector/app/views/quickbooks_web_connector/qwc/qwc.xml.builder (0.7ms)
8789
+ Rendered text template (0.0ms)
8790
+ Sent data jane.qwc (0.7ms)
8791
+ Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)
8792
+ Processing by QuickbooksWebConnector::QwcController#download as XML
8793
+ Parameters: {"username"=>"jane"}
8794
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8795
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8796
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8797
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8798
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8799
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8800
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8801
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8802
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8803
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8804
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8805
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8806
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8807
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8808
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8809
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8810
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8811
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8812
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8813
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8814
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8815
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8816
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8817
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8818
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8819
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8820
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8821
+ Processing by QuickbooksWebConnector::SoapController#endpoint as HTML
8822
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)