diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tom_tom.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/tom_tom.rb b/lib/tom_tom.rb index 9158b7a28..91f1a3800 100644 --- a/lib/tom_tom.rb +++ b/lib/tom_tom.rb @@ -17,7 +17,7 @@ module TomTom    end    def self.enabled? -    api_key.present? +    api_key.present? && /[a-zA-Z0-9]{32}/ === api_key    end    def self.batch(way_costs) | 
