Module: CyberbizExpress::ExpressBase
- Included in:
- NinjaVan::Api
- Defined in:
- lib/cyberbiz_express/express_base.rb
Instance Method Summary collapse
- #access_token ⇒ Object
- #cancel_order(_tracking_number, _order_number, _shop_info, _reason) ⇒ Object
- #estimate_fee(_order) ⇒ Object
- #reconcile(_file, _dry_run_mode, _options) ⇒ Object
- #submit_order(_order, _shipping_address, _shop, _options) ⇒ Object
- #track_status(_order) ⇒ Object
- #update_order(_order_number, _shipping_address) ⇒ Object
Instance Method Details
#access_token ⇒ Object
5 6 7 |
# File 'lib/cyberbiz_express/express_base.rb', line 5 def access_token raise(NoMethodError, "There is no access_token API for #{@tracking_company}") end |
#cancel_order(_tracking_number, _order_number, _shop_info, _reason) ⇒ Object
21 22 23 |
# File 'lib/cyberbiz_express/express_base.rb', line 21 def cancel_order(_tracking_number, _order_number, _shop_info, _reason) raise(NoMethodError, "There is no cancel_order API for #{@tracking_company}") end |
#estimate_fee(_order) ⇒ Object
9 10 11 |
# File 'lib/cyberbiz_express/express_base.rb', line 9 def estimate_fee(_order) raise(NoMethodError, "There is no estimate_fee API for #{@tracking_company}") end |
#reconcile(_file, _dry_run_mode, _options) ⇒ Object
29 30 31 |
# File 'lib/cyberbiz_express/express_base.rb', line 29 def reconcile(_file, _dry_run_mode, ) raise(NoMethodError, "There is no reconcile API for #{@tracking_company}") end |
#submit_order(_order, _shipping_address, _shop, _options) ⇒ Object
13 14 15 |
# File 'lib/cyberbiz_express/express_base.rb', line 13 def submit_order(_order, _shipping_address, _shop, ) raise(NoMethodError, "There is no submit_order API for #{@tracking_company}") end |
#track_status(_order) ⇒ Object
25 26 27 |
# File 'lib/cyberbiz_express/express_base.rb', line 25 def track_status(_order) raise(NoMethodError, "There is no track_status API for #{@tracking_company}") end |
#update_order(_order_number, _shipping_address) ⇒ Object
17 18 19 |
# File 'lib/cyberbiz_express/express_base.rb', line 17 def update_order(_order_number, _shipping_address) raise(NoMethodError, "There is no update_order API for #{@tracking_company}") end |