lib/platform_rest/client.rb in losant_rest-1.19.6 vs lib/platform_rest/client.rb in losant_rest-1.19.8

- old
+ new

@@ -25,11 +25,11 @@ module PlatformRest # Platform API # # User API for accessing platform data # - # Built For Version 1.26.6 + # Built For Version 1.26.8 class Client attr_accessor :auth_token, :url def initialize(options = {}) self.auth_token = options.fetch(:auth_token, nil) @@ -396,10 +396,10 @@ headers = options.fetch(:headers, {}) method = options.fetch(:method, :get) headers["Accept"] = "application/json" headers["Content-Type"] = "application/json" - headers["Accept-Version"] = "^1.26.6" + headers["Accept-Version"] = "^1.26.8" headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token path = self.url + options.fetch(:path, "") response = HTTParty.send(method, path, query: Utils.fix_query_arrays(options[:query]),