11 12 13 14 15
# File 'lib/thanos/api/client.rb', line 11 def get(resource, options) url = "#{endpoint}/#{resource}" response = RestClient.get(url, params: options.merge(authentication)) Thanos::API::Response.new(response) end