Sha256: d27451c96e0b10f5833950d8a99aa6536136d9db8517446266f32afdaea07b98

Contents?: true

Size: 577 Bytes

Versions: 1

Compression:

Stored size: 577 Bytes

Contents

# 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, :service, :package, :reference_number, :metadata,
                  :additional_services
    attr_reader :id, :created_at, :carrier_tracking_no, :tracking_url, :label_url,
                :packages, :price, :customs_declaration, :pickup, :label_voucher_url

    def self.index_response_root
      "#{class_name.downcase}s"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shipcloud-0.12.0 lib/shipcloud/shipment.rb