Module: Greip
- Defined in:
- lib/greip.rb,
lib/greip/version.rb,
lib/greip/constants.rb
Overview
Greip module
Defined Under Namespace
Classes: Error, GreipHandler
Constant Summary collapse
- VERSION =
"1.2.0"
- BASE_URL =
"https://greipapi.com"
- AVAILABLE_LANGUAGES =
%w[EN AR DE FR ES JA ZH RU].freeze
- AVAILABLE_GEOIP_PARAMS =
%w[location security timezone currency device].freeze
Class Method Summary collapse
Class Method Details
.create(token) ⇒ Object
369 370 371 |
# File 'lib/greip.rb', line 369 def self.create(token) GreipHandler.new(token) end |