secondrotation-channel_advisor 0.0.2 → 0.0.3

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.
@@ -1,4 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'cart_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'cart_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'cart_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'cart_service', required))
4
+ end
5
+
6
+ module ChannelAdvisor
7
+ class CartService
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::CartServiceSOAP,
11
+ ChannelAdvisor::CartServiceSOAP::CartServiceSoap
12
+ )
13
+ end
14
+ end
@@ -1,42 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'inventory_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'inventory_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'inventory_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'inventory_service', required))
4
+ end
5
5
 
6
6
  module ChannelAdvisor
7
7
  class InventoryService
8
-
9
- def initialize
10
- @client = InventoryServiceSOAP::InventoryServiceSoap.new
11
- @client.headerhandler << ChannelAdvisor::AuthHandler.new
12
- end
13
-
14
- InventoryServiceSOAP::InventoryServiceSoap::Methods.each do |m|
15
- method_name = m[1]
16
- result_method = "#{method_name}Result"
17
- class_name = method_name[0..0].upcase + method_name[1..-1]
18
-
19
- define_method(method_name) do |*args|
20
- args = args.unshift(configatron.channel_advisor.account_id)
21
-
22
- request_class = InventoryServiceSOAP.const_get(class_name)
23
- request = request_class.new(*args)
24
-
25
- result = @client.send(method_name, request)
26
- response = result.send(result_method)
27
-
28
- check_for_success(response)
29
- response.resultData
30
- end
31
-
32
- end
33
-
34
-
35
- protected
36
- def check_for_success(response)
37
- unless response.status == 'Success'
38
- raise ChannelAdvisor::Error.new(response, MessageCode.get(response.messageCode))
39
- end
40
- end
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::InventoryServiceSOAP,
11
+ ChannelAdvisor::InventoryServiceSOAP::InventoryServiceSoap
12
+ )
41
13
  end
42
- end
14
+ end
@@ -1,4 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'marketplace_ad_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'marketplace_ad_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'marketplace_ad_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'marketplace_ad_service', required))
4
+ end
5
+
6
+ module ChannelAdvisor
7
+ class MarketplaceAdService
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::MarketplaceAdServiceSOAP,
11
+ ChannelAdvisor::MarketplaceAdServiceSOAP::MarketplaceAdServiceSoap
12
+ )
13
+ end
14
+ end
@@ -1,4 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'order_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'order_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'order_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'order_service', required))
4
+ end
5
+
6
+ module ChannelAdvisor
7
+ class OrderService
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::OrderServiceSOAP,
11
+ ChannelAdvisor::OrderServiceSOAP::OrderServiceSoap
12
+ )
13
+ end
14
+ end
@@ -0,0 +1,55 @@
1
+ module ChannelAdvisor
2
+ module ServiceProxy
3
+
4
+ def self.included(base)
5
+ base.extend(ChannelAdvisor::ServiceProxy::ClassMethods)
6
+ end
7
+
8
+ module InstanceMethods
9
+ protected
10
+
11
+ def client
12
+ unless @__client
13
+ @__client = self.class.const_get(:SOAP_CLASS).new
14
+ @__client.headerhandler << ChannelAdvisor::AuthHandler.new
15
+ end
16
+ @__client
17
+ end
18
+
19
+ def check_for_success(response)
20
+ unless response.status == 'Success'
21
+ raise ChannelAdvisor::Error.new(response, MessageCode.get(response.messageCode))
22
+ end
23
+ end
24
+ end
25
+
26
+ module ClassMethods
27
+ def define_service_methods(service_module, soap_class)
28
+ const_set(:SERVICE_MODULE, service_module)
29
+ const_set(:SOAP_CLASS, soap_class)
30
+
31
+ soap_class::Methods.each do |m|
32
+ method_name = m[1]
33
+ result_method = "#{method_name}Result"
34
+ class_name = method_name[0..0].upcase + method_name[1..-1]
35
+
36
+ define_method(method_name) do |*args|
37
+ args = args.unshift(configatron.channel_advisor.account_id)
38
+
39
+ request_class = service_module.const_get(class_name)
40
+ request = request_class.new(*args)
41
+
42
+ result = self.client.send(method_name, request)
43
+ response = result.send(result_method)
44
+
45
+ check_for_success(response)
46
+ response.resultData
47
+ end
48
+
49
+ include ChannelAdvisor::ServiceProxy::InstanceMethods
50
+ end
51
+ end
52
+ end
53
+
54
+ end
55
+ end
@@ -8,3 +8,4 @@ require 'configatron'
8
8
  require File.expand_path(File.join(File.dirname(__FILE__), 'auth_handler.rb'))
9
9
  require File.expand_path(File.join(File.dirname(__FILE__), 'message_code.rb'))
10
10
  require File.expand_path(File.join(File.dirname(__FILE__), 'errors.rb'))
11
+ require File.expand_path(File.join(File.dirname(__FILE__), 'service_proxy.rb'))
@@ -1,4 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'shipping_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'shipping_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'shipping_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'shipping_service', required))
4
+ end
5
+
6
+ module ChannelAdvisor
7
+ class ShippingService
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::ShippingServiceSOAP,
11
+ ChannelAdvisor::ShippingServiceSOAP::ShippingServiceSoap
12
+ )
13
+ end
14
+ end
@@ -1,4 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'store_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'store_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'store_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'store_service', required))
4
+ end
5
+
6
+ module ChannelAdvisor
7
+ class StoreService
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::StoreServiceSOAP,
11
+ ChannelAdvisor::StoreServiceSOAP::StoreServiceSoap
12
+ )
13
+ end
14
+ end
@@ -1,4 +1,14 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'tax_service', 'types.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'tax_service', 'mapping_registry.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'tax_service', 'client.rb'))
2
+ ['types.rb', 'mapping_registry.rb', 'client.rb'].each do |required|
3
+ require File.expand_path(File.join(File.dirname(__FILE__), 'tax_service', required))
4
+ end
5
+
6
+ module ChannelAdvisor
7
+ class TaxService
8
+ include ChannelAdvisor::ServiceProxy
9
+ define_service_methods(
10
+ ChannelAdvisor::TaxServiceSOAP,
11
+ ChannelAdvisor::TaxServiceSOAP::TaxServiceSoap
12
+ )
13
+ end
14
+ end
@@ -1,8 +1,4 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'shared_requires.rb'))
2
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'cart_service.rb'))
3
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'inventory_service.rb'))
4
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'marketplace_ad_service.rb'))
5
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'order_service.rb'))
6
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'shipping_service.rb'))
7
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'store_service.rb'))
8
- require File.expand_path(File.join(File.dirname(__FILE__), 'channel_advisor', 'tax_service.rb'))
2
+ Dir.glob(File.join(File.dirname(__FILE__), 'channel_advisor', '*.rb')).each do |f|
3
+ require File.expand_path(f)
4
+ end
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::CartService do
4
+
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::CartService::SOAP_CLASS.should == ChannelAdvisor::CartServiceSOAP::CartServiceSoap
8
+ ChannelAdvisor::CartService::SERVICE_MODULE.should == ChannelAdvisor::CartServiceSOAP
9
+ end
10
+ end
11
+
12
+ end
@@ -1,61 +1,11 @@
1
1
  require File.dirname(__FILE__) + '/../../spec_helper'
2
2
 
3
3
  describe ChannelAdvisor::InventoryService do
4
- before(:each) do
5
- configatron.channel_advisor.account_id = 'test_account_id'
6
- @client = mock(ChannelAdvisor::InventoryServiceSOAP::InventoryServiceSoap)
7
- @client.should_receive(:headerhandler).and_return([])
8
- ChannelAdvisor::InventoryServiceSOAP::InventoryServiceSoap.should_receive(:new).and_return(@client)
9
- end
10
-
11
- describe "generated methods" do
12
- it "handles getFilteredSkuList request" do
13
- criteria = ChannelAdvisor::InventoryServiceSOAP::InventoryItemCriteria.new
14
- criteria.skuStartsWith = 'SR123'
15
- criteria.pageNumber = 1
16
- criteria.pageSize = 10
17
-
18
- request = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList)
19
- ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList.should_receive(:new).with(
20
- configatron.channel_advisor.account_id, criteria
21
- ).and_return(request)
22
-
23
- expected_result = ['SR123', 'SR321']
24
-
25
- mock_result = mock(Object)
26
- mock_result.should_receive(:status).and_return('Success')
27
- mock_result.should_receive(:resultData).and_return(expected_result)
28
-
29
- response = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuListResponse)
30
- response.should_receive(:getFilteredSkuListResult).and_return(mock_result)
31
-
32
- @client.should_receive(:getFilteredSkuList).with(request).and_return(response)
33
-
34
- inventory = ChannelAdvisor::InventoryService.new
35
- result = inventory.getFilteredSkuList(criteria)
36
- result.should == expected_result
37
- end
38
-
39
- it "raises an error the result is not Success" do
40
- request = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList)
41
- ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList.stub!(:new).and_return(request)
42
-
43
- mock_result = mock(Object)
44
- mock_result.should_receive(:status).and_return('Failure')
45
- mock_result.should_receive(:messageCode).and_return(ChannelAdvisor::MessageCode::Unexpected.code)
46
-
47
- response = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuListResponse)
48
- response.should_receive(:getFilteredSkuListResult).and_return(mock_result)
49
-
50
- @client.should_receive(:getFilteredSkuList).with(request).and_return(response)
51
4
 
52
- begin
53
- inventory = ChannelAdvisor::InventoryService.new
54
- inventory.getFilteredSkuList
55
- fail('Expected an exception')
56
- rescue ChannelAdvisor::Error => e
57
- e.message_code.should == ChannelAdvisor::MessageCode::Unexpected
58
- end
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::InventoryService::SOAP_CLASS.should == ChannelAdvisor::InventoryServiceSOAP::InventoryServiceSoap
8
+ ChannelAdvisor::InventoryService::SERVICE_MODULE.should == ChannelAdvisor::InventoryServiceSOAP
59
9
  end
60
10
  end
61
11
 
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::MarketplaceAdService do
4
+
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::MarketplaceAdService::SOAP_CLASS.should == ChannelAdvisor::MarketplaceAdServiceSOAP::MarketplaceAdServiceSoap
8
+ ChannelAdvisor::MarketplaceAdService::SERVICE_MODULE.should == ChannelAdvisor::MarketplaceAdServiceSOAP
9
+ end
10
+ end
11
+
12
+ end
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::OrderService do
4
+
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::OrderService::SOAP_CLASS.should == ChannelAdvisor::OrderServiceSOAP::OrderServiceSoap
8
+ ChannelAdvisor::OrderService::SERVICE_MODULE.should == ChannelAdvisor::OrderServiceSOAP
9
+ end
10
+ end
11
+
12
+ end
@@ -0,0 +1,64 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::ServiceProxy do
4
+
5
+ describe "generated methods" do
6
+
7
+ before(:each) do
8
+ configatron.channel_advisor.account_id = 'test_account_id'
9
+ @client = mock(ChannelAdvisor::InventoryServiceSOAP::InventoryServiceSoap)
10
+ @client.should_receive(:headerhandler).and_return([])
11
+ ChannelAdvisor::InventoryServiceSOAP::InventoryServiceSoap.should_receive(:new).and_return(@client)
12
+ end
13
+
14
+ it "handles getFilteredSkuList request" do
15
+ criteria = ChannelAdvisor::InventoryServiceSOAP::InventoryItemCriteria.new
16
+ criteria.skuStartsWith = 'SR123'
17
+ criteria.pageNumber = 1
18
+ criteria.pageSize = 10
19
+
20
+ request = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList)
21
+ ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList.should_receive(:new).with(
22
+ configatron.channel_advisor.account_id, criteria
23
+ ).and_return(request)
24
+
25
+ expected_result = ['SR123', 'SR321']
26
+
27
+ mock_result = mock(Object)
28
+ mock_result.should_receive(:status).and_return('Success')
29
+ mock_result.should_receive(:resultData).and_return(expected_result)
30
+
31
+ response = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuListResponse)
32
+ response.should_receive(:getFilteredSkuListResult).and_return(mock_result)
33
+
34
+ @client.should_receive(:getFilteredSkuList).with(request).and_return(response)
35
+
36
+ inventory = ChannelAdvisor::InventoryService.new
37
+ result = inventory.getFilteredSkuList(criteria)
38
+ result.should == expected_result
39
+ end
40
+
41
+ it "raises an error the result is not Success" do
42
+ request = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList)
43
+ ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuList.stub!(:new).and_return(request)
44
+
45
+ mock_result = mock(Object)
46
+ mock_result.should_receive(:status).and_return('Failure')
47
+ mock_result.should_receive(:messageCode).and_return(ChannelAdvisor::MessageCode::Unexpected.code)
48
+
49
+ response = mock(ChannelAdvisor::InventoryServiceSOAP::GetFilteredSkuListResponse)
50
+ response.should_receive(:getFilteredSkuListResult).and_return(mock_result)
51
+
52
+ @client.should_receive(:getFilteredSkuList).with(request).and_return(response)
53
+
54
+ begin
55
+ inventory = ChannelAdvisor::InventoryService.new
56
+ inventory.getFilteredSkuList
57
+ fail('Expected an exception')
58
+ rescue ChannelAdvisor::Error => e
59
+ e.message_code.should == ChannelAdvisor::MessageCode::Unexpected
60
+ end
61
+ end
62
+ end
63
+
64
+ end
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::ShippingService do
4
+
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::ShippingService::SOAP_CLASS.should == ChannelAdvisor::ShippingServiceSOAP::ShippingServiceSoap
8
+ ChannelAdvisor::ShippingService::SERVICE_MODULE.should == ChannelAdvisor::ShippingServiceSOAP
9
+ end
10
+ end
11
+
12
+ end
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::StoreService do
4
+
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::StoreService::SOAP_CLASS.should == ChannelAdvisor::StoreServiceSOAP::StoreServiceSoap
8
+ ChannelAdvisor::StoreService::SERVICE_MODULE.should == ChannelAdvisor::StoreServiceSOAP
9
+ end
10
+ end
11
+
12
+ end
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe ChannelAdvisor::TaxService do
4
+
5
+ describe "proxy configuration" do
6
+ it "should define soap dependencies" do
7
+ ChannelAdvisor::TaxService::SOAP_CLASS.should == ChannelAdvisor::TaxServiceSOAP::TaxServiceSoap
8
+ ChannelAdvisor::TaxService::SERVICE_MODULE.should == ChannelAdvisor::TaxServiceSOAP
9
+ end
10
+ end
11
+
12
+ end
data/test/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  require 'rubygems'
2
2
  require 'spec'
3
3
 
4
- require File.join(File.dirname(__FILE__), '..', 'lib', 'channel_advisor')
4
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'channel_advisor'))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secondrotation-channel_advisor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Second Rotation, Inc.
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-26 00:00:00 -08:00
12
+ date: 2009-01-27 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -58,6 +58,7 @@ files:
58
58
  - lib/channel_advisor/order_service/mapping_registry.rb
59
59
  - lib/channel_advisor/order_service/types.rb
60
60
  - lib/channel_advisor/order_service.rb
61
+ - lib/channel_advisor/service_proxy.rb
61
62
  - lib/channel_advisor/shared_requires.rb
62
63
  - lib/channel_advisor/shipping_service/client.rb
63
64
  - lib/channel_advisor/shipping_service/mapping_registry.rb
@@ -76,8 +77,15 @@ files:
76
77
  - test/lib
77
78
  - test/lib/channel_advisor
78
79
  - test/lib/channel_advisor/auth_handler_spec.rb
80
+ - test/lib/channel_advisor/cart_service_spec.rb
79
81
  - test/lib/channel_advisor/inventory_service_spec.rb
82
+ - test/lib/channel_advisor/marketplace_ad_service_spec.rb
80
83
  - test/lib/channel_advisor/message_code_spec.rb
84
+ - test/lib/channel_advisor/order_service_spec.rb
85
+ - test/lib/channel_advisor/service_proxy_spec.rb
86
+ - test/lib/channel_advisor/shipping_service_spec.rb
87
+ - test/lib/channel_advisor/store_service_spec.rb
88
+ - test/lib/channel_advisor/tax_service_spec.rb
81
89
  - test/spec.opts
82
90
  - test/spec_helper.rb
83
91
  has_rdoc: true
@@ -111,7 +119,14 @@ test_files:
111
119
  - test/lib
112
120
  - test/lib/channel_advisor
113
121
  - test/lib/channel_advisor/auth_handler_spec.rb
122
+ - test/lib/channel_advisor/cart_service_spec.rb
114
123
  - test/lib/channel_advisor/inventory_service_spec.rb
124
+ - test/lib/channel_advisor/marketplace_ad_service_spec.rb
115
125
  - test/lib/channel_advisor/message_code_spec.rb
126
+ - test/lib/channel_advisor/order_service_spec.rb
127
+ - test/lib/channel_advisor/service_proxy_spec.rb
128
+ - test/lib/channel_advisor/shipping_service_spec.rb
129
+ - test/lib/channel_advisor/store_service_spec.rb
130
+ - test/lib/channel_advisor/tax_service_spec.rb
116
131
  - test/spec.opts
117
132
  - test/spec_helper.rb