Class: Shipstation::Shipment

Inherits:
ApiResource show all
Extended by:
APIOperations::List
Defined in:
lib/shipstation/shipment.rb

Class Method Summary collapse

Methods included from APIOperations::List

list

Methods inherited from ApiResource

class_name

Class Method Details

.create_label(params = {}) ⇒ Object



10
11
12
# File 'lib/shipstation/shipment.rb', line 10

def create_label(params = {})
  Shipstation.request(:post, 'shipments/createlabel', params)
end

.get_rates(params = {}) ⇒ Object



6
7
8
# File 'lib/shipstation/shipment.rb', line 6

def get_rates(params = {})
  Shipstation.request(:post, "shipments/getrates", params)
end

.void_label(params = {}) ⇒ Object



14
15
16
# File 'lib/shipstation/shipment.rb', line 14

def void_label(params = {})
  Shipstation.request(:post, 'shipments/voidlabel', params)
end