Sha256: d955d6fa8b5ac8b444ed2da7e38adad27ff85326690904a7bab57224b6c74a68

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/module/delegation' # Allows using `delegate`
require 'faraday'
require 'faraday_middleware'
require 'json'

require_relative 'erp_integration/version'
require_relative 'erp_integration/errors'
require_relative 'erp_integration/configuration'

# Middleware
require_relative 'erp_integration/middleware/error_handling'

# HTTP clients
require_relative 'erp_integration/fulfil/client'

# The `ErpIntegration` integrates Mejuri with third-party ERP vendors.
module ErpIntegration
  # Resources
  autoload :Product, 'erp_integration/product'
  autoload :PurchaseOrder, 'erp_integration/purchase_order'
  autoload :PurchaseOrderLine, 'erp_integration/purchase_order_line'
  autoload :PurchaseRequest, 'erp_integration/purchase_request'
  autoload :Resource, 'erp_integration/resource'
  autoload :SalesOrder, 'erp_integration/sales_order'
  autoload :SalesOrderLine, 'erp_integration/sales_order_line'
  autoload :StockMove, 'erp_integration/stock_move'
  autoload :SupplierShipment, 'erp_integration/supplier_shipment'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
erp_integration-0.5.2 lib/erp_integration.rb
erp_integration-0.5.1 lib/erp_integration.rb
erp_integration-0.5.0 lib/erp_integration.rb