Method: Geoloco::Location#country_code

Defined in:
lib/geoloco/location.rb

#country_codeObject

Returns the value of attribute country_code

Returns:

  • (Object)

    the current value of country_code



6
7
8
# File 'lib/geoloco/location.rb', line 6

def country_code
  @country_code
end