Class: G4sTracking::Address
- Inherits:
-
Object
- Object
- G4sTracking::Address
- Defined in:
- lib/g4s/tracking/default.rb
Overview
/Address
name - SOAP::SOAPString
company - SOAP::SOAPString
address1 - SOAP::SOAPString
address2 - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
countryCode - SOAP::SOAPString
zip - SOAP::SOAPString
phone - SOAP::SOAPString
email - SOAP::SOAPString
Instance Attribute Summary collapse
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#city ⇒ Object
Returns the value of attribute city.
-
#company ⇒ Object
Returns the value of attribute company.
-
#countryCode ⇒ Object
Returns the value of attribute countryCode.
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#state ⇒ Object
Returns the value of attribute state.
-
#zip ⇒ Object
Returns the value of attribute zip.
Instance Method Summary collapse
-
#initialize(name = nil, company = nil, address1 = nil, address2 = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, email = nil) ⇒ Address
constructor
A new instance of Address.
Constructor Details
#initialize(name = nil, company = nil, address1 = nil, address2 = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, email = nil) ⇒ Address
Returns a new instance of Address.
343 344 345 346 347 348 349 350 351 352 353 354 |
# File 'lib/g4s/tracking/default.rb', line 343 def initialize(name = nil, company = nil, address1 = nil, address2 = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, email = nil) @name = name @company = company @address1 = address1 @address2 = address2 @city = city @state = state @countryCode = countryCode @zip = zip @phone = phone @email = email end |
Instance Attribute Details
#address1 ⇒ Object
Returns the value of attribute address1.
334 335 336 |
# File 'lib/g4s/tracking/default.rb', line 334 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
335 336 337 |
# File 'lib/g4s/tracking/default.rb', line 335 def address2 @address2 end |
#city ⇒ Object
Returns the value of attribute city.
336 337 338 |
# File 'lib/g4s/tracking/default.rb', line 336 def city @city end |
#company ⇒ Object
Returns the value of attribute company.
333 334 335 |
# File 'lib/g4s/tracking/default.rb', line 333 def company @company end |
#countryCode ⇒ Object
Returns the value of attribute countryCode.
338 339 340 |
# File 'lib/g4s/tracking/default.rb', line 338 def countryCode @countryCode end |
#email ⇒ Object
Returns the value of attribute email.
341 342 343 |
# File 'lib/g4s/tracking/default.rb', line 341 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
332 333 334 |
# File 'lib/g4s/tracking/default.rb', line 332 def name @name end |
#phone ⇒ Object
Returns the value of attribute phone.
340 341 342 |
# File 'lib/g4s/tracking/default.rb', line 340 def phone @phone end |
#state ⇒ Object
Returns the value of attribute state.
337 338 339 |
# File 'lib/g4s/tracking/default.rb', line 337 def state @state end |
#zip ⇒ Object
Returns the value of attribute zip.
339 340 341 |
# File 'lib/g4s/tracking/default.rb', line 339 def zip @zip end |