Class: FedexWebServices::Soap::Rate::ContactAndAddress
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::ContactAndAddress
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13ContactAndAddress
contact - FedexWebServices::Soap::Rate::Contact
address - FedexWebServices::Soap::Rate::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.
397 398 399 400 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 397 def initialize(contact = nil, address = nil) @contact = contact @address = address end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
395 396 397 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 395 def address @address end |
#contact ⇒ Object
Returns the value of attribute contact.
394 395 396 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 394 def contact @contact end |