Class: Sendcloud::ShipmentAddress

Inherits:
Struct
  • Object
show all
Defined in:
lib/sendcloud/shipment_address.rb

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



2
3
4
# File 'lib/sendcloud/shipment_address.rb', line 2

def address
  @address
end

#cityObject

Returns the value of attribute city

Returns:

  • (Object)

    the current value of city



2
3
4
# File 'lib/sendcloud/shipment_address.rb', line 2

def city
  @city
end

#countryObject

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



2
3
4
# File 'lib/sendcloud/shipment_address.rb', line 2

def country
  @country
end

#postal_codeObject

Returns the value of attribute postal_code

Returns:

  • (Object)

    the current value of postal_code



2
3
4
# File 'lib/sendcloud/shipment_address.rb', line 2

def postal_code
  @postal_code
end