Sha256: b7cf245e9f242c21c61d7b29bfaeea738b4d14b1b3e44a1c1d88fdb340f4e33a
Contents?: true
Size: 526 Bytes
Versions: 17
Compression:
Stored size: 526 Bytes
Contents
# frozen_string_literal: true module Physical class Shipment attr_reader :id, :origin, :destination, :service_code, :packages, :options def initialize(id: nil, origin: nil, destination: nil, service_code: nil, packages: [], options: {}) @id = id || SecureRandom.uuid @origin = origin @destination = destination @service_code = service_code @packages = packages @options = options end end end
Version data entries
17 entries across 17 versions & 1 rubygems