Class: Brapi::Zipcode

Inherits:
BaseModel show all
Defined in:
lib/brapi/zipcode.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#initialize

Constructor Details

This class inherits a constructor from Brapi::BaseModel

Instance Attribute Details

#addressObject

Returns the value of attribute address.



3
4
5
# File 'lib/brapi/zipcode.rb', line 3

def address
  @address
end

#address_typeObject

Returns the value of attribute address_type.



3
4
5
# File 'lib/brapi/zipcode.rb', line 3

def address_type
  @address_type
end

#cityObject

Returns the value of attribute city.



4
5
6
# File 'lib/brapi/zipcode.rb', line 4

def city
  @city
end

#city_ibge_codeObject

Returns the value of attribute city_ibge_code.



4
5
6
# File 'lib/brapi/zipcode.rb', line 4

def city_ibge_code
  @city_ibge_code
end

#neighborhoodObject

Returns the value of attribute neighborhood.



4
5
6
# File 'lib/brapi/zipcode.rb', line 4

def neighborhood
  @neighborhood
end

#stateObject

Returns the value of attribute state.



3
4
5
# File 'lib/brapi/zipcode.rb', line 3

def state
  @state
end

#zipcodeObject

Returns the value of attribute zipcode.



3
4
5
# File 'lib/brapi/zipcode.rb', line 3

def zipcode
  @zipcode
end