Class: FedexWebServices::Soap::Ship::ContactAndAddress

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/ShipServiceDefinitions.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact = nil, address = nil) ⇒ ContactAndAddress

Returns a new instance of ContactAndAddress.



666
667
668
669
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 666

def initialize(contact = nil, address = nil)
  @contact = contact
  @address = address
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



664
665
666
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 664

def address
  @address
end

#contactObject

Returns the value of attribute contact.



663
664
665
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 663

def contact
  @contact
end