Class: RestIP::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/rest_ip/result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#areaObject

Returns the value of attribute area.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def area
  @area
end

#area_idObject

Returns the value of attribute area_id.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def area_id
  @area_id
end

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def city
  @city
end

#city_idObject

Returns the value of attribute city_id.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def city_id
  @city_id
end

#countryObject

Returns the value of attribute country.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def country
  @country
end

#country_idObject

Returns the value of attribute country_id.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def country_id
  @country_id
end

#ipObject

Returns the value of attribute ip.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def ip
  @ip
end

#ispObject

Returns the value of attribute isp.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def isp
  @isp
end

#isp_idObject

Returns the value of attribute isp_id.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def isp_id
  @isp_id
end

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def region
  @region
end

#region_idObject

Returns the value of attribute region_id.



3
4
5
# File 'lib/rest_ip/result.rb', line 3

def region_id
  @region_id
end