Class: FedexWebServices::Soap::Rate::ContactAndAddress

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#addressObject

Returns the value of attribute address.



395
396
397
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 395

def address
  @address
end

#contactObject

Returns the value of attribute contact.



394
395
396
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 394

def contact
  @contact
end