lib/shipcloud/shipment.rb in shipcloud-0.11.0 vs lib/shipcloud/shipment.rb in shipcloud-0.12.0

- old
+ new

@@ -1,13 +1,16 @@ +# frozen_string_literal: true + module Shipcloud class Shipment < Base include Shipcloud::Operations::Delete include Shipcloud::Operations::Update include Shipcloud::Operations::All - attr_accessor :from, :to, :carrier, :package, :reference_number, :metadata + attr_accessor :from, :to, :carrier, :service, :package, :reference_number, :metadata, + :additional_services attr_reader :id, :created_at, :carrier_tracking_no, :tracking_url, :label_url, - :packages, :price, :customs_declaration, :pickup + :packages, :price, :customs_declaration, :pickup, :label_voucher_url def self.index_response_root "#{class_name.downcase}s" end end