Class: GeoIP::ISP

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lspObject

Returns the value of attribute lsp

Returns:

  • (Object)

    the current value of lsp



157
158
159
# File 'lib/geoip.rb', line 157

def lsp
  @lsp
end

Instance Method Details

#to_hashObject



158
159
160
# File 'lib/geoip.rb', line 158

def to_hash
  Hash[each_pair.to_a]
end