class Chilexpress::Shipment

Attributes

order_number[R]
product_type[R]
receiver[R]
service_type[R]
status[R]
tracking_entries[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/chilexpress/shipment.rb, line 5
def initialize(attributes)
  @order_number = attributes[:order_number]
  @product_type = attributes[:product_type]
  @service_type = attributes[:service_type]
  @status = attributes[:status]
  @receiver = attributes[:receiver]
  @tracking_entries = attributes[:tracking_entries] || []
end