Commit bb471d49 authored by alexlag's avatar alexlag
Browse files

String format fix

parent 9f9ef4b6
......@@ -9,7 +9,7 @@ class IsprasAPI
def initialize(key, name, ver)
if key && key.size == 40
self.class.base_uri ROOT_URL % [name, ver]
self.class.base_uri format(ROOT_URL, name, ver)
self.class.default_params apikey: key
self.class.read_timeout 60
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment