class Geocoder::Result::Opencagedata

def time_zone

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