Class: FedexWebServices::Soap::Ship::ContactAndAddress
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::ContactAndAddress
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12ContactAndAddress
contact - FedexWebServices::Soap::Ship::Contact
address - FedexWebServices::Soap::Ship::Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#contact ⇒ Object
Returns the value of attribute contact.
Instance Method Summary collapse
-
#initialize(contact = nil, address = nil) ⇒ ContactAndAddress
constructor
A new instance of ContactAndAddress.
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
#address ⇒ Object
Returns the value of attribute address.
664 665 666 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 664 def address @address end |
#contact ⇒ Object
Returns the value of attribute contact.
663 664 665 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 663 def contact @contact end |