lib/lightspeed_restaurant/request.rb in lightspeed_restaurant-1.0.0 vs lib/lightspeed_restaurant/request.rb in lightspeed_restaurant-1.1.0

- old
+ new

@@ -6,10 +6,10 @@ require 'uri' module LightspeedRestaurantClient class Request def initialize(base_uri, path, token, body = {}, query = {}) - @base_uri = base_uri || 'http://staging-exact-integration.posios.com' + @base_uri = base_uri || 'http://stating-integration.posios.com' @headers = { 'Content-Type' => 'application/json', 'X-Auth-Token' => token } @body = body.to_json @query = query @path = '/PosServer' + path @connection = Excon.new(@base_uri)