lib/lightspeed_restaurant/request.rb in lightspeed_restaurant-0.3.0 vs lib/lightspeed_restaurant/request.rb in lightspeed_restaurant-1.0.0
- old
+ new
@@ -3,10 +3,10 @@
require 'lightspeed_restaurant/errors/authentication_error'
require 'lightspeed_restaurant/errors/invalid_request_error'
require 'lightspeed_restaurant/errors/not_found_error'
require 'uri'
-module LightspeedRestaurant
+module LightspeedRestaurantClient
class Request
def initialize(base_uri, path, token, body = {}, query = {})
@base_uri = base_uri || 'http://staging-exact-integration.posios.com'
@headers = { 'Content-Type' => 'application/json', 'X-Auth-Token' => token }
@body = body.to_json