Method: Parsec::Country#initialize

Defined in:
lib/parsec/country.rb

#initialize(iso:, name: nil, code: nil) ⇒ Country

Returns a new instance of Country.



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

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