lib/tango/client.rb in tango-client-1.0.1 vs lib/tango/client.rb in tango-client-1.0.2
- old
+ new
@@ -20,10 +20,10 @@
# is "endpoint/version".
# @option options [String] version version part of API URL
# @option options [Faraday::Builder] middleware Faraday's middleware stack
# @option options [Hash] connection_options Further options for Faraday connection
def initialize(options = {})
- @options = ::Tango::Default.options.merge(options)
+ @options = ::Tango::Default.template.merge(options)
end
# Perform an HTTP POST request
def post(path, params = {})
request(:post, path, params)