Class: CountriesRu::Country

Inherits:
Struct
  • Object
show all
Defined in:
lib/countries_ru/country.rb

Instance Attribute Summary collapse

Instance Attribute Details

#alpha2Object

Returns the value of attribute alpha2

Returns:

  • (Object)

    the current value of alpha2



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def alpha2
  @alpha2
end

#alpha3Object

Returns the value of attribute alpha3

Returns:

  • (Object)

    the current value of alpha3



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def alpha3
  @alpha3
end

#englishObject

Returns the value of attribute english

Returns:

  • (Object)

    the current value of english



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def english
  @english
end

#fullnameObject

Returns the value of attribute fullname

Returns:

  • (Object)

    the current value of fullname



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def fullname
  @fullname
end

#isoObject

Returns the value of attribute iso

Returns:

  • (Object)

    the current value of iso



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def iso
  @iso
end

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def location
  @location
end

#location_preciseObject

Returns the value of attribute location_precise

Returns:

  • (Object)

    the current value of location_precise



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def location_precise
  @location_precise
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/countries_ru/country.rb', line 2

def name
  @name
end