class Geocoder::Lookup::AmazonLocationService

def require_sdk

def require_sdk
  begin
    require 'aws-sdk-locationservice'
  rescue LoadError
    raise_error(Geocoder::ConfigurationError) ||
      Geocoder.log(
        :error,
        "Couldn't load the Amazon Location Service SDK. " +
        "Install it with: gem install aws-sdk-locationservice -v '~> 1.4'"
      )
  end
end