lib/erp_integration/resource.rb in erp_integration-0.3.3 vs lib/erp_integration/resource.rb in erp_integration-0.4.0
- old
+ new
@@ -14,11 +14,11 @@
# @example
# ErpIntegration.configure do |config|
# config.order_adapter = :fulfil
# end
#
- # $ ErpIntegration::Order.adapter
- # => #<ErpIntegration::Orders::FulfilOrder />
+ # $ ErpIntegration::SalesOrder.adapter
+ # => #<ErpIntegration::SalesOrders::FulfilOrder />
#
# To add a new resource, follow these steps:
# 1. Add a new `attr_writer` in the `ErpIntegration::Configuration` class.
# 2. Add a new method to the `ErpIntegration::Configuration` that sets up the
# default adapter.