Class: Telesign::API::BasedOnPhoneNumberResponse

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

Overview

/BasedOnPhoneNumberResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BasedOnPhoneNumberResponse.



384
385
386
387
388
389
390
# File 'lib/telesign/api/default.rb', line 384

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

Instance Attribute Details

#cityObject

Returns the value of attribute city.



380
381
382
# File 'lib/telesign/api/default.rb', line 380

def city
  @city
end

#nameObject

Returns the value of attribute name.



378
379
380
# File 'lib/telesign/api/default.rb', line 378

def name
  @name
end

#stateObject

Returns the value of attribute state.



381
382
383
# File 'lib/telesign/api/default.rb', line 381

def state
  @state
end

#streetObject

Returns the value of attribute street.



379
380
381
# File 'lib/telesign/api/default.rb', line 379

def street
  @street
end

#zipObject

Returns the value of attribute zip.



382
383
384
# File 'lib/telesign/api/default.rb', line 382

def zip
  @zip
end