Class: BrazilianUtils::Address

Inherits:
Struct
  • Object
show all
Defined in:
lib/brazilian-utils/cep-utils.rb

Overview

Address structure

Instance Attribute Summary collapse

Instance Attribute Details

#bairro ⇒ Object

Returns the value of attribute bairro

Returns:

  • (Object) —

    the current value of bairro



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def bairro
  @bairro
end

#cep ⇒ Object

Returns the value of attribute cep

Returns:

  • (Object) —

    the current value of cep



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def cep
  @cep
end

#complemento ⇒ Object

Returns the value of attribute complemento

Returns:

  • (Object) —

    the current value of complemento



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def complemento
  @complemento
end

#ddd ⇒ Object

Returns the value of attribute ddd

Returns:

  • (Object) —

    the current value of ddd



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def ddd
  @ddd
end

#estado ⇒ Object

Returns the value of attribute estado

Returns:

  • (Object) —

    the current value of estado



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def estado
  @estado
end

#gia ⇒ Object

Returns the value of attribute gia

Returns:

  • (Object) —

    the current value of gia



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def gia
  @gia
end

#ibge ⇒ Object

Returns the value of attribute ibge

Returns:

  • (Object) —

    the current value of ibge



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def ibge
  @ibge
end

#localidade ⇒ Object

Returns the value of attribute localidade

Returns:

  • (Object) —

    the current value of localidade



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def localidade
  @localidade
end

#logradouro ⇒ Object

Returns the value of attribute logradouro

Returns:

  • (Object) —

    the current value of logradouro



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def logradouro
  @logradouro
end

#regiao ⇒ Object

Returns the value of attribute regiao

Returns:

  • (Object) —

    the current value of regiao



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def regiao
  @regiao
end

#siafi ⇒ Object

Returns the value of attribute siafi

Returns:

  • (Object) —

    the current value of siafi



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def siafi
  @siafi
end

#uf ⇒ Object

Returns the value of attribute uf

Returns:

  • (Object) —

    the current value of uf



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def uf
  @uf
end

#unidade ⇒ Object

Returns the value of attribute unidade

Returns:

  • (Object) —

    the current value of unidade



56
57
58
# File 'lib/brazilian-utils/cep-utils.rb', line 56

def unidade
  @unidade
end