class ListOfCountries::City

Attributes

name[R]

Public Class Methods

new(data) click to toggle source
# File lib/list_of_countries/city.rb, line 7
def initialize(data)
  @name = data.fetch("name")
end