Method: Parsec::City#initialize

Defined in:
lib/parsec/city.rb

#initialize(code:, name: nil, country_iso: nil) ⇒ City

Returns a new instance of City.



7
8
9
10
11
# File 'lib/parsec/city.rb', line 7

def initialize(code:, name: nil, country_iso: nil)
  @code = code
  @name = name
  @country_iso = country_iso
end