Sha256: eb5243eb9e443fce1ef1d94a2e478078d4924ed392829dde89d9d231992dea05

Contents?: true

Size: 942 Bytes

Versions: 1

Compression:

Stored size: 942 Bytes

Contents

# frozen_string_literal: true

module CyberbizExpress
  module ExpressBase
    def estimate_fee(_order)
      raise(NoMethodError, "There is no estimate_fee API for #{@tracking_company}")
    end

    def submit_order(_order, _shipping_address, _shop, _options)
      raise(NoMethodError, "There is no submit_order API for #{@tracking_company}")
    end

    def update_order(_order_number, _shipping_address)
      raise(NoMethodError, "There is no update_order API for #{@tracking_company}")
    end

    def cancel_order(_tracking_number, _order_number, _shop_info, _reason)
      raise(NoMethodError, "There is no cancel_order API for #{@tracking_company}")
    end

    def track_status(_order)
      raise(NoMethodError, "There is no track_status API for #{@tracking_company}")
    end

    def reconcile(_file, _dry_run_mode, _options)
      raise(NoMethodError, "There is no reconcile API for #{@tracking_company}")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cyberbiz_express-0.1.0 lib/cyberbiz_express/express_base.rb