Class: USPS::Response::CityAndStateLookup::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/usps/response/city_and_state_lookup.rb

Overview

Result record for a city and state lookup.

Instance Attribute Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city

Returns:

  • (Object)

    the current value of city



4
5
6
# File 'lib/usps/response/city_and_state_lookup.rb', line 4

def city
  @city
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



4
5
6
# File 'lib/usps/response/city_and_state_lookup.rb', line 4

def state
  @state
end

#zipObject

Returns the value of attribute zip

Returns:

  • (Object)

    the current value of zip



4
5
6
# File 'lib/usps/response/city_and_state_lookup.rb', line 4

def zip
  @zip
end