Method: Geocoder::Result::Opencagedata#time_zone
- Defined in:
- lib/geocoder/results/opencagedata.rb
#time_zone ⇒ Object
78 79 80 81 82 83 84 85 |
# File 'lib/geocoder/results/opencagedata.rb', line 78 def time_zone # The OpenCage API documentation states that `annotations` is available # "when possible" https://geocoder.opencagedata.com/api#annotations @data .fetch('annotations', {}) .fetch('timezone', {}) .fetch('name', nil) end |