lib/shipcloud/shipment.rb in shipcloud-0.7.0 vs lib/shipcloud/shipment.rb in shipcloud-0.8.0
- old
+ new
@@ -2,10 +2,10 @@
class Shipment < Base
include Shipcloud::Operations::Delete
include Shipcloud::Operations::Update
include Shipcloud::Operations::All
- attr_accessor :from, :to, :carrier, :package, :reference_number
+ attr_accessor :from, :to, :carrier, :package, :reference_number, :metadata
attr_reader :id, :created_at, :carrier_tracking_no, :tracking_url, :label_url, :packages, :price
def self.index_response_root
"#{class_name.downcase}s"
end