lib/smartsend/shipment.rb in smartsend-ruby-0.2.2 vs lib/smartsend/shipment.rb in smartsend-ruby-0.3

- old
+ new

@@ -17,10 +17,10 @@ def success? success end - def save!(account: nil) + def save_and_create_label!(account: nil) response = Smartsend::Client.new(account).post('shipments/labels', self.serialize) if response.success? @success = true @labels_url = response.dig('data', 'pdf', 'link')