Class: Bigcommerce::Shipment

Inherits:
Resource
  • Object
show all
Defined in:
lib/bigcommerce/resources/orders/shipment.rb

Class Method Summary collapse

Class Method Details

.count(order_id, params = {}) ⇒ Object


23
24
25
# File 'lib/bigcommerce/resources/orders/shipment.rb', line 23

def self.count(order_id, params = {})
  get "orders/#{order_id}/shipments/count", params
end

.count_all(params = {}) ⇒ Object


27
28
29
# File 'lib/bigcommerce/resources/orders/shipment.rb', line 27

def self.count_all(params = {})
  get 'orders/shipments/count', params
end