Sha256: 41540fbea7a5aca65cbbaf97fde6364135d23b1b9f0d75aaeb986f21c4fc3696

Contents?: true

Size: 681 Bytes

Versions: 1

Compression:

Stored size: 681 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'rubygems'
require 'active_support'

require 'uri'
require 'cgi'
require 'net/http'
require 'logger'
require 'yaml'
require 'csv'

class Hash
  def to_query_string
    self.to_a.collect { |p| "#{p.first.to_s}=#{p.last}" }.join("&")
  end
end

require 'max_mind/service'
require 'max_mind/service/country'
require 'max_mind/service/city'
require 'max_mind/service/city_isp_org'

module MaxMind
  class LicenseError < StandardError; end
  class ConfigurationError < StandardError; end
  class ConnectionError < StandardError; end
  class RequestError < StandardError; end
  class ResponseError < StandardError; end

  VERSION = '1.0.0'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
max_mind-1.0.0 lib/max_mind.rb