Module: Telize
- Extended by:
- Telize
- Included in:
- Telize
- Defined in:
- lib/telize.rb,
lib/telize/client.rb,
lib/telize/config.rb,
lib/telize/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Method Summary collapse
Instance Method Details
#configure {|config| ... } ⇒ Object
13 14 15 16 |
# File 'lib/telize.rb', line 13 def configure yield config @client = nil end |
#geoip(ip_address = nil) ⇒ Object
22 23 24 |
# File 'lib/telize.rb', line 22 def geoip(ip_address = nil) client.geoip(ip_address) end |
#ip ⇒ Object
18 19 20 |
# File 'lib/telize.rb', line 18 def ip client.ip end |