Skip to content
João Guilherme edited this page Apr 10, 2016 · 4 revisions

Class

  • This class contains all the information about the States

Methods

  • def self.all_states

  • Returns all the initials from all the states.

  • def refresh!

  • Refresh the enterprises by state.

Variables

  • Integer code

  • Stores the code of the state.

  • String name

  • Stores the name of the state

  • String abbreviation

  • Stores the abbreviation for the state

  • s

  • Receives abbreviation.

  • states

  • Array of states.

Clone this wiki locally