Class: Telesign::API::BasedOnAddressResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/telesign/api/default.rb

Overview

/BasedOnAddressResponse

name - SOAP::SOAPString
street - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
zip - SOAP::SOAPString
phoneNumber - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, street = nil, city = nil, state = nil, zip = nil, phoneNumber = nil) ⇒ BasedOnAddressResponse

Returns a new instance of BasedOnAddressResponse.



408
409
410
411
412
413
414
415
# File 'lib/telesign/api/default.rb', line 408

def initialize(name = nil, street = nil, city = nil, state = nil, zip = nil, phoneNumber = nil)
  @name = name
  @street = street
  @city = city
  @state = state
  @zip = zip
  @phoneNumber = phoneNumber
end

Instance Attribute Details

#cityObject

Returns the value of attribute city.



403
404
405
# File 'lib/telesign/api/default.rb', line 403

def city
  @city
end

#nameObject

Returns the value of attribute name.



401
402
403
# File 'lib/telesign/api/default.rb', line 401

def name
  @name
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



406
407
408
# File 'lib/telesign/api/default.rb', line 406

def phoneNumber
  @phoneNumber
end

#stateObject

Returns the value of attribute state.



404
405
406
# File 'lib/telesign/api/default.rb', line 404

def state
  @state
end

#streetObject

Returns the value of attribute street.



402
403
404
# File 'lib/telesign/api/default.rb', line 402

def street
  @street
end

#zipObject

Returns the value of attribute zip.



405
406
407
# File 'lib/telesign/api/default.rb', line 405

def zip
  @zip
end